#2B5939#2B5939
#2B5939 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.2% C 0.074 H 151.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5939 |
|---|---|
| RGB | rgb(43, 89, 57) |
| HSL | hsl(138, 35%, 26%) |
| HSV | hsv(138, 52%, 35%) |
| CMYK | cmyk(51.7%, 0%, 36%, 65.1%) |
| CIE-LAB | lab(33.89, -23.92, 13.80) |
| CIE-LCH | lch(33.89, 27.61, 150.03°) |
| OKLab | oklab(42.17% -0.0651 0.0347) |
| OKLCH | oklch(42.17% 0.074 151.9) |
| XYZ | xyz(5.3068, 7.9534, 5.1256) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.32
Pine
#2B5D34
ΔE00 2.79
Spruce
#0A5F38
ΔE00 4.39
Forest Green
#2D5A27
ΔE00 5.43
Evergreen
#05472A
ΔE00 6.57
Pine Green
#0A481E
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5939 #592B4B
analogous
#34592B #2B5939 #2B5950
triadic
#2B5939 #392B59 #59392B
tetradic
#2B5939 #2B3459 #592B4B #59502B
square
#2B5939 #2B3459 #592B4B #59502B
split-complementary
#2B5939 #502B59 #592B34
monochromatic
#0A150D #17301F #2B5939 #3F8253 #53AC6E
Accessibility & contrast
On white
8.11
#2B5939 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2B5939 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5939
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5939 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595237
Deuteranopia (green-blind)
#534E3B
Tritanopia (blue-blind)
#215851
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2b5939; /* rgb */ color: rgb(43, 89, 57); /* oklch */ color: oklch(42.2% 0.074 151.9);
Tailwind
colors: {
custom: {
50: '#68886f',
500: '#2b5939',
950: '#000000',
},
}SCSS
$custom: #2b5939; $custom-light: #68886f; $custom-dark: #000000;
JSON
{
"hex": "#2b5939",
"rgb": {
"r": 43,
"g": 89,
"b": 57
},
"hsl": {
"h": 138.261,
"s": 34.848,
"l": 25.882
},
"oklch": {
"l": 0.42172,
"c": 0.07382,
"h": 151.9
},
"luminance": 0.07954
}Semantic roles & 50–950 ramp
primary
#2B5939
secondary
#8B557B
accent
#5DA9CB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060B07
muted
#7A7C7A