#2F5F1E#2F5F1E
#2F5F1E is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.109 H 138.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5F1E |
|---|---|
| RGB | rgb(47, 95, 30) |
| HSL | hsl(104, 52%, 25%) |
| HSV | hsv(104, 68%, 37%) |
| CMYK | cmyk(50.5%, 0%, 68.4%, 62.7%) |
| CIE-LAB | lab(35.76, -29.71, 31.26) |
| CIE-LCH | lch(35.76, 43.12, 133.55°) |
| OKLab | oklab(43.62% -0.0818 0.0723) |
| OKLCH | oklch(43.62% 0.109 138.5) |
| XYZ | xyz(5.4986, 8.8821, 2.6527) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.21
Deep Green
#02590F
ΔE00 4.50
Forest
#0B5509
ΔE00 4.77
Darkgreen
#006400
ΔE00 5.28
Navy Green
#35530A
ΔE00 5.39
Pine
#2B5D34
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5F1E #4E1E5F
analogous
#505F1E #2F5F1E #1E5F2E
triadic
#2F5F1E #1E2F5F #5F1E2F
tetradic
#2F5F1E #1E505F #4E1E5F #5F2E1E
square
#2F5F1E #1E505F #4E1E5F #5F2E1E
split-complementary
#2F5F1E #2E1E5F #5F1E50
monochromatic
#0C1707 #18300F #2F5F1E #468E2D #5DBC3B
Accessibility & contrast
On white
7.56
#2F5F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2F5F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5F1E
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5F1E | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625716
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#2B5C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f5f1e; /* rgb */ color: rgb(47, 95, 30); /* oklch */ color: oklch(43.6% 0.109 138.5);
Tailwind
colors: {
custom: {
50: '#6c8d5d',
500: '#2f5f1e',
950: '#000000',
},
}SCSS
$custom: #2f5f1e; $custom-light: #6c8d5d; $custom-dark: #000000;
JSON
{
"hex": "#2f5f1e",
"rgb": {
"r": 47,
"g": 95,
"b": 30
},
"hsl": {
"h": 104.308,
"s": 52,
"l": 24.51
},
"oklch": {
"l": 0.4362,
"c": 0.10919,
"h": 138.5
},
"luminance": 0.08882
}Semantic roles & 50–950 ramp
primary
#2F5F1E
secondary
#7F4594
accent
#4CDBB6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79