#2B5118#2B5118
#2B5118 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.096 H 136.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5118 |
|---|---|
| RGB | rgb(43, 81, 24) |
| HSL | hsl(100, 54%, 21%) |
| HSV | hsv(100, 70%, 32%) |
| CMYK | cmyk(46.9%, 0%, 70.4%, 68.2%) |
| CIE-LAB | lab(30.55, -25.26, 28.43) |
| CIE-LCH | lch(30.55, 38.03, 131.62°) |
| OKLab | oklab(39.28% -0.0699 0.0656) |
| OKLCH | oklch(39.28% 0.096 136.8) |
| XYZ | xyz(4.1034, 6.4642, 1.8955) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.61
Navy Green
#35530A
ΔE00 3.85
Forest
#0B5509
ΔE00 4.61
Forrest Green
#154406
ΔE00 4.64
Bottle Green
#044A05
ΔE00 4.78
Darkgreen (survey)
#054907
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5118 #3E1851
analogous
#475118 #2B5118 #185121
triadic
#2B5118 #182B51 #51182B
tetradic
#2B5118 #184751 #3E1851 #512118
square
#2B5118 #184751 #3E1851 #512118
split-complementary
#2B5118 #211851 #511847
monochromatic
#0D1807 #12220A #2B5118 #448026 #5DAF34
Accessibility & contrast
On white
9.16
#2B5118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2B5118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5118
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5118 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#294E45
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b5118; /* rgb */ color: rgb(43, 81, 24); /* oklch */ color: oklch(39.3% 0.096 136.8);
Tailwind
colors: {
custom: {
50: '#688258',
500: '#2b5118',
950: '#000000',
},
}SCSS
$custom: #2b5118; $custom-light: #688258; $custom-dark: #000000;
JSON
{
"hex": "#2b5118",
"rgb": {
"r": 43,
"g": 81,
"b": 24
},
"hsl": {
"h": 100,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.39283,
"c": 0.09588,
"h": 136.8
},
"luminance": 0.06464
}Semantic roles & 50–950 ramp
primary
#2B5118
secondary
#6F3D88
accent
#4ADEAC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78