#2B5928#2B5928
#2B5928 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.093 H 142.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5928 |
|---|---|
| RGB | rgb(43, 89, 40) |
| HSL | hsl(116, 38%, 25%) |
| HSV | hsv(116, 55%, 35%) |
| CMYK | cmyk(51.7%, 0%, 55.1%, 65.1%) |
| CIE-LAB | lab(33.59, -27.00, 23.43) |
| CIE-LCH | lch(33.59, 35.75, 139.05°) |
| OKLab | oklab(41.83% -0.0736 0.0564) |
| OKLCH | oklch(41.83% 0.093 142.5) |
| XYZ | xyz(4.9514, 7.8112, 3.2539) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 0.66
Pine
#2B5D34
ΔE00 2.85
Hunter Green
#355E3B
ΔE00 4.45
Deep Green
#02590F
ΔE00 5.39
Forest
#0B5509
ΔE00 5.49
Spruce
#0A5F38
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5928 #562859
analogous
#435928 #2B5928 #28593E
triadic
#2B5928 #282B59 #59282B
tetradic
#2B5928 #284359 #562859 #593E28
square
#2B5928 #284359 #562859 #593E28
split-complementary
#2B5928 #3E2859 #592843
monochromatic
#0A1509 #172F15 #2B5928 #3F833B #54AD4E
Accessibility & contrast
On white
8.20
#2B5928 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2B5928 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B5928
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5928 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#554D2B
Tritanopia (blue-blind)
#25574E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b5928; /* rgb */ color: rgb(43, 89, 40); /* oklch */ color: oklch(41.8% 0.093 142.5);
Tailwind
colors: {
custom: {
50: '#688863',
500: '#2b5928',
950: '#000000',
},
}SCSS
$custom: #2b5928; $custom-light: #688863; $custom-dark: #000000;
JSON
{
"hex": "#2b5928",
"rgb": {
"r": 43,
"g": 89,
"b": 40
},
"hsl": {
"h": 116.327,
"s": 37.984,
"l": 25.294
},
"oklch": {
"l": 0.4183,
"c": 0.09267,
"h": 142.5
},
"luminance": 0.07812
}Semantic roles & 50–950 ramp
primary
#2B5928
secondary
#88518C
accent
#5ACEC7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060B05
muted
#7A7C79