#2B5918#2B5918
#2B5918 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.108 H 138.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5918 |
|---|---|
| RGB | rgb(43, 89, 24) |
| HSL | hsl(102, 58%, 22%) |
| HSV | hsv(102, 73%, 35%) |
| CMYK | cmyk(51.7%, 0%, 73%, 65.1%) |
| CIE-LAB | lab(33.40, -28.98, 31.49) |
| CIE-LCH | lch(33.40, 42.80, 132.62°) |
| OKLab | oklab(41.62% -0.08 0.0721) |
| OKLCH | oklch(41.62% 0.108 138) |
| XYZ | xyz(4.7333, 7.7240, 2.1054) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.04
Forest
#0B5509
ΔE00 3.60
Deep Green
#02590F
ΔE00 3.93
Navy Green
#35530A
ΔE00 4.13
Bottle Green
#044A05
ΔE00 5.74
Darkgreen
#006400
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5918 #461859
analogous
#4B5918 #2B5918 #185926
triadic
#2B5918 #182B59 #59182B
tetradic
#2B5918 #184B59 #461859 #592618
square
#2B5918 #184B59 #461859 #592618
split-complementary
#2B5918 #261859 #59184B
monochromatic
#0C1806 #14290B #2B5918 #428925 #5AB932
Accessibility & contrast
On white
8.25
#2B5918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B5918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5918
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5918 | 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)
#5C510F
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b5918; /* rgb */ color: rgb(43, 89, 24); /* oklch */ color: oklch(41.6% 0.108 138.0);
Tailwind
colors: {
custom: {
50: '#698859',
500: '#2b5918',
950: '#000000',
},
}SCSS
$custom: #2b5918; $custom-light: #698859; $custom-dark: #000000;
JSON
{
"hex": "#2b5918",
"rgb": {
"r": 43,
"g": 89,
"b": 24
},
"hsl": {
"h": 102.462,
"s": 57.522,
"l": 22.157
},
"oklch": {
"l": 0.41618,
"c": 0.10767,
"h": 138
},
"luminance": 0.07724
}Semantic roles & 50–950 ramp
primary
#2B5918
secondary
#783D90
accent
#47E1B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79