Skip to content
PantoneTools
green
X11 named colors

Olivedrab2

olivedrab2 · #B3EE3A

HEX

#B3EE3A

RGB

rgb(179, 238, 58)

CMYK

cmyk(25%, 0%, 76%, 7%)

HSL

hsl(80, 84%, 58%)

LAB

lab(87.5, -42.7, 75.0)

What is Olivedrab2?

Olivedrab2 is the olivedrab2 reference in the X11 named colors. Its sRGB value is #B3EE3A (rgb 179, 238, 58). It sits in the green family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Olivedrab2 as a background.

Black text on this color

Sample text · 15.21 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.38 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Olivedrab2

An 11-step tonal scale derived from Olivedrab2 (#B3EE3A). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F9FEEF

50

#F9FEEF

#F9FEEF

Copied #F3FCDF

100

#F3FCDF

#F3FCDF

Copied #E7FAC0

200

#E7FAC0

#E7FAC0

Copied #D9F79D

300

#D9F79D

#D9F79D

Copied #C6F26B

400

#C6F26B

#C6F26B

Copied #B3EE3A

500

#B3EE3A

#B3EE3A

Copied #98CA31

600

#98CA31

#98CA31

Copied #749B26

700

#749B26

#749B26

Copied #516B1A

800

#516B1A

#516B1A

Copied #2D3C0F

900

#2D3C0F

#2D3C0F

Copied #151D07

950

#151D07

#151D07

Lighter tints (mixed with white)

Copied #C1F177

15%

#C1F177

Copied #CEF39B

30%

#CEF39B

Copied #DAF6B7

45%

#DAF6B7

Copied #E5F8CE

60%

#E5F8CE

Copied #EFFBE2

75%

#EFFBE2

Darker shades (mixed with black)

Copied #A6DD35

15%

#A6DD35

Copied #98CB30

30%

#98CB30

Copied #88B62A

45%

#88B62A

Copied #769E23

60%

#769E23

Copied #5E7F1A

75%

#5E7F1A

Color harmonies for Olivedrab2

Classic color-theory harmonies derived from rotating the hue of Olivedrab2. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #B3EE3A

#B3EE3A

#B3EE3A

Copied #763AEE

#763AEE

#763AEE

Triadic

Three colors 120° apart

Copied #B3EE3A

#B3EE3A

#B3EE3A

Copied #3AB2EE

#3AB2EE

#3AB2EE

Copied #EE3AB2

#EE3AB2

#EE3AB2

Analogous

Two neighbors ±30° on the wheel

Copied #EED03A

#EED03A

#EED03A

Copied #B3EE3A

#B3EE3A

#B3EE3A

Copied #58EE3A

#58EE3A

#58EE3A

Split-complementary

Base + two colors flanking its complement

Copied #B3EE3A

#B3EE3A

#B3EE3A

Copied #3A58EE

#3A58EE

#3A58EE

Copied #D03AEE

#D03AEE

#D03AEE

Tetradic

Two complementary pairs

Copied #B3EE3A

#B3EE3A

#B3EE3A

Copied #3AEE76

#3AEE76

#3AEE76

Copied #763AEE

#763AEE

#763AEE

Copied #EE3AB2

#EE3AB2

#EE3AB2

Square

Four colors evenly spaced 90° apart

Copied #B3EE3A

#B3EE3A

#B3EE3A

Copied #3AEED0

#3AEED0

#3AEED0

Copied #763AEE

#763AEE

#763AEE

Copied #EE3A58

#EE3A58

#EE3A58

Olivedrab2 in every color space

Full conversion of Olivedrab2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#B3EE3A

RGB

rgb(179, 238, 58)

CMYK

cmyk(25%, 0%, 76%, 7%)

HSL

hsl(80, 84%, 58%)

HSV

hsv(80, 76%, 93%)

HWB

hwb(80 23% 7%)

CIE Lab

lab(87.5 -42.7 75.0)

OKLCH

oklch(87.8% 0.207 126.7)

XYZ (D65)

xyz(49.93, 71.04, 15.08)

Copy-ready code for Olivedrab2

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #B3EE3A;
background-color: #B3EE3A;

CSS variable

:root {
  --color-olivedrab2: #B3EE3A;
}

Tailwind config

// tailwind.config.js
colors: {
  'olivedrab2': '#B3EE3A',
}

Sass

$color-olivedrab2: #B3EE3A;

Swift UIColor

UIColor(red: 0.702, green: 0.933, blue: 0.227, alpha: 1.0)

Android XML

<color name="olivedrab2">#B3EE3A</color>

Closest match in every color system

The nearest Olivedrab2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #EDFF21

RAL 1016

#EDFF21

Sulfur yellow

Copied #F8F32B

RAL 1018

#F8F32B

Zinc yellow

Copied #FFFF00

RAL 1026

#FFFF00

Luminous yellow

Copied #E1CC4F

RAL 1014

#E1CC4F

Ivory

Copied #BDECB6

RAL 6019

#BDECB6

Pastel green

Copied #F3DA0B

RAL 1021

#F3DA0B

Rape yellow

FAQ about Olivedrab2

What is the HEX code for Olivedrab2?

Olivedrab2 (olivedrab2) has the HEX code #B3EE3A. In RGB it is rgb(179, 238, 58), and in CMYK it is cmyk(25%, 0%, 76%, 7%).

What is the OKLCH value of Olivedrab2?

Olivedrab2 converts to oklch(0.878 0.207 126.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Olivedrab2 accessible for body text?

Used as a background, Olivedrab2 has a contrast ratio of 15.21:1 with black text and 1.38:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Olivedrab2?

The closest Pantone reference to Olivedrab2 by ΔE2000 perceptual distance is Pantone 367 C (#A4D65E). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Olivedrab2?

The closest RAL Classic reference to Olivedrab2 by ΔE2000 distance is RAL 1016 (Sulfur yellow, #EDFF21). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Olivedrab2?

The complementary color (180° opposite on the HSL color wheel) of Olivedrab2 is #763AEE. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
green

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Olivedrab2 — #B3EE3A | PantoneTools