#2F5928#2F5928
#2F5928 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.090 H 140.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5928 |
|---|---|
| RGB | rgb(47, 89, 40) |
| HSL | hsl(111, 38%, 25%) |
| HSV | hsv(111, 55%, 35%) |
| CMYK | cmyk(47.2%, 0%, 55.1%, 65.1%) |
| CIE-LAB | lab(33.78, -25.63, 23.71) |
| CIE-LCH | lch(33.78, 34.92, 137.24°) |
| OKLab | oklab(42.04% -0.07 0.057) |
| OKLCH | oklch(42.04% 0.09 140.9) |
| XYZ | xyz(5.1275, 7.9020, 3.2621) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 0.64
Pine
#2B5D34
ΔE00 3.19
Hunter Green
#355E3B
ΔE00 4.46
Deep Green
#02590F
ΔE00 5.77
Forest
#0B5509
ΔE00 5.77
Navy Green
#35530A
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5928 #522859
analogous
#475928 #2F5928 #28593A
triadic
#2F5928 #282F59 #59282F
tetradic
#2F5928 #284759 #522859 #593A28
square
#2F5928 #284759 #522859 #593A28
split-complementary
#2F5928 #3A2859 #592847
monochromatic
#0B1509 #192F15 #2F5928 #45833B #5CAD4E
Accessibility & contrast
On white
8.14
#2F5928 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2F5928 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5928
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5928 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#2B564E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f5928; /* rgb */ color: rgb(47, 89, 40); /* oklch */ color: oklch(42.0% 0.090 140.9);
Tailwind
colors: {
custom: {
50: '#6b8863',
500: '#2f5928',
950: '#000000',
},
}SCSS
$custom: #2f5928; $custom-light: #6b8863; $custom-dark: #000000;
JSON
{
"hex": "#2f5928",
"rgb": {
"r": 47,
"g": 89,
"b": 40
},
"hsl": {
"h": 111.429,
"s": 37.984,
"l": 25.294
},
"oklch": {
"l": 0.42039,
"c": 0.09029,
"h": 140.9
},
"luminance": 0.07902
}Semantic roles & 50–950 ramp
primary
#2F5928
secondary
#83518C
accent
#5ACEBD
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070B05
muted
#7A7C79