#2F5E0D#2F5E0D
#2F5E0D is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.119 H 135.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5E0D |
|---|---|
| RGB | rgb(47, 94, 13) |
| HSL | hsl(95, 76%, 21%) |
| HSV | hsv(95, 86%, 37%) |
| CMYK | cmyk(50%, 0%, 86.2%, 63.1%) |
| CIE-LAB | lab(35.28, -30.64, 37.73) |
| CIE-LCH | lch(35.28, 48.61, 129.08°) |
| OKLab | oklab(43.19% -0.0856 0.0833) |
| OKLCH | oklch(43.19% 0.119 135.8) |
| XYZ | xyz(5.2475, 8.6385, 1.7716) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 4.33
Darkgreen
#006400
ΔE00 4.70
Forest
#0B5509
ΔE00 4.90
Deep Green
#02590F
ΔE00 5.04
Forest Green
#2D5A27
ΔE00 5.50
Camouflage Green
#4B6113
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5E0D #3C0D5E
analogous
#575E0D #2F5E0D #0D5E13
triadic
#2F5E0D #0D2F5E #5E0D2F
tetradic
#2F5E0D #0D575E #3C0D5E #5E130D
square
#2F5E0D #0D575E #3C0D5E #5E130D
split-complementary
#2F5E0D #130D5E #5E0D57
monochromatic
#0D1B04 #142806 #2F5E0D #4A9414 #65CA1C
Accessibility & contrast
On white
7.70
#2F5E0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2F5E0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5E0D
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5E0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5E0D | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2D5A4F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f5e0d; /* rgb */ color: rgb(47, 94, 13); /* oklch */ color: oklch(43.2% 0.119 135.8);
Tailwind
colors: {
custom: {
50: '#6d8c54',
500: '#2f5e0d',
950: '#000000',
},
}SCSS
$custom: #2f5e0d; $custom-light: #6d8c54; $custom-dark: #000000;
JSON
{
"hex": "#2f5e0d",
"rgb": {
"r": 47,
"g": 94,
"b": 13
},
"hsl": {
"h": 94.815,
"s": 75.701,
"l": 20.98
},
"oklch": {
"l": 0.43188,
"c": 0.11942,
"h": 135.8
},
"luminance": 0.08639
}Semantic roles & 50–950 ramp
primary
#2F5E0D
secondary
#6C2F98
accent
#36F2A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78