#2B5917#2B5917
#2B5917 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.108 H 137.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5917 |
|---|---|
| RGB | rgb(43, 89, 23) |
| HSL | hsl(102, 59%, 22%) |
| HSV | hsv(102, 74%, 35%) |
| CMYK | cmyk(51.7%, 0%, 74.2%, 65.1%) |
| CIE-LAB | lab(33.39, -29.08, 31.94) |
| CIE-LCH | lch(33.39, 43.19, 132.31°) |
| OKLab | oklab(41.61% -0.0803 0.0728) |
| OKLCH | oklch(41.61% 0.108 137.8) |
| XYZ | xyz(4.7231, 7.7199, 2.0517) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.22
Forest
#0B5509
ΔE00 3.57
Deep Green
#02590F
ΔE00 3.94
Navy Green
#35530A
ΔE00 4.02
Bottle Green
#044A05
ΔE00 5.75
Darkgreen
#006400
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5917 #451759
analogous
#4C5917 #2B5917 #175924
triadic
#2B5917 #172B59 #59172B
tetradic
#2B5917 #174C59 #451759 #592417
square
#2B5917 #174C59 #451759 #592417
split-complementary
#2B5917 #241759 #59174C
monochromatic
#0C1806 #14280A #2B5917 #428A24 #5ABA30
Accessibility & contrast
On white
8.25
#2B5917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B5917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5917
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5917 | 1.00 | 8.25 | 2.54 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#564D1D
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b5917; /* rgb */ color: rgb(43, 89, 23); /* oklch */ color: oklch(41.6% 0.108 137.8);
Tailwind
colors: {
custom: {
50: '#698858',
500: '#2b5917',
950: '#000000',
},
}SCSS
$custom: #2b5917; $custom-light: #698858; $custom-dark: #000000;
JSON
{
"hex": "#2b5917",
"rgb": {
"r": 43,
"g": 89,
"b": 23
},
"hsl": {
"h": 101.818,
"s": 58.929,
"l": 21.961
},
"oklch": {
"l": 0.41608,
"c": 0.10845,
"h": 137.8
},
"luminance": 0.0772
}Semantic roles & 50–950 ramp
primary
#2B5917
secondary
#763C90
accent
#46E2B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78