#2F5415#2F5415
#2F5415 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.4% C 0.100 H 135.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5415 |
|---|---|
| RGB | rgb(47, 84, 21) |
| HSL | hsl(95, 60%, 21%) |
| HSV | hsv(95, 75%, 33%) |
| CMYK | cmyk(44%, 0%, 75%, 67.1%) |
| CIE-LAB | lab(31.80, -25.47, 31.24) |
| CIE-LCH | lch(31.80, 40.31, 129.18°) |
| OKLab | oklab(40.36% -0.071 0.071) |
| OKLCH | oklch(40.36% 0.1 135) |
| XYZ | xyz(4.4779, 6.9989, 1.8243) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.58
Forest Green
#2D5A27
ΔE00 3.95
Forest
#0B5509
ΔE00 4.61
Deep Green
#02590F
ΔE00 5.44
Bottle Green
#044A05
ΔE00 5.57
Forrest Green
#154406
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5415 #3A1554
analogous
#4E5415 #2F5415 #15541A
triadic
#2F5415 #152F54 #54152F
tetradic
#2F5415 #154E54 #3A1554 #541A15
square
#2F5415 #154E54 #3A1554 #541A15
split-complementary
#2F5415 #1A1554 #54154E
monochromatic
#0E1806 #142309 #2F5415 #4A8521 #66B62D
Accessibility & contrast
On white
8.75
#2F5415 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F5415 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5415
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5415 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5415 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D0C
Deuteranopia (green-blind)
#524A1B
Tritanopia (blue-blind)
#2E5147
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f5415; /* rgb */ color: rgb(47, 84, 21); /* oklch */ color: oklch(40.4% 0.100 135.0);
Tailwind
colors: {
custom: {
50: '#6b8456',
500: '#2f5415',
950: '#000000',
},
}SCSS
$custom: #2f5415; $custom-light: #6b8456; $custom-dark: #000000;
JSON
{
"hex": "#2f5415",
"rgb": {
"r": 47,
"g": 84,
"b": 21
},
"hsl": {
"h": 95.238,
"s": 60,
"l": 20.588
},
"oklch": {
"l": 0.40355,
"c": 0.10044,
"h": 135
},
"luminance": 0.06999
}Semantic roles & 50–950 ramp
primary
#2F5415
secondary
#6A398C
accent
#45E3A2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78