#2B5218#2B5218
#2B5218 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.097 H 137.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5218 |
|---|---|
| RGB | rgb(43, 82, 24) |
| HSL | hsl(100, 55%, 21%) |
| HSV | hsv(100, 71%, 32%) |
| CMYK | cmyk(47.6%, 0%, 70.7%, 67.8%) |
| CIE-LAB | lab(30.91, -25.74, 28.82) |
| CIE-LCH | lch(30.91, 38.64, 131.77°) |
| OKLab | oklab(39.57% -0.0712 0.0664) |
| OKLCH | oklch(39.57% 0.097 137) |
| XYZ | xyz(4.1783, 6.6139, 1.9204) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.42
Navy Green
#35530A
ΔE00 3.77
Forest
#0B5509
ΔE00 4.39
Bottle Green
#044A05
ΔE00 4.81
Forrest Green
#154406
ΔE00 4.85
Darkgreen (survey)
#054907
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5218 #3F1852
analogous
#485218 #2B5218 #185222
triadic
#2B5218 #182B52 #52182B
tetradic
#2B5218 #184852 #3F1852 #522218
square
#2B5218 #184852 #3F1852 #522218
split-complementary
#2B5218 #221852 #521848
monochromatic
#0C1807 #12230A #2B5218 #448126 #5DB134
Accessibility & contrast
On white
9.04
#2B5218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2B5218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5218
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5218 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#294F46
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2b5218; /* rgb */ color: rgb(43, 82, 24); /* oklch */ color: oklch(39.6% 0.097 137.0);
Tailwind
colors: {
custom: {
50: '#688358',
500: '#2b5218',
950: '#000000',
},
}SCSS
$custom: #2b5218; $custom-light: #688358; $custom-dark: #000000;
JSON
{
"hex": "#2b5218",
"rgb": {
"r": 43,
"g": 82,
"b": 24
},
"hsl": {
"h": 100.345,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.39575,
"c": 0.09739,
"h": 137
},
"luminance": 0.06614
}Semantic roles & 50–950 ramp
primary
#2B5218
secondary
#703D89
accent
#4ADEAD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78