#2F5F0E#2F5F0E
#2F5F0E is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.120 H 136.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5F0E |
|---|---|
| RGB | rgb(47, 95, 14) |
| HSL | hsl(96, 74%, 21%) |
| HSV | hsv(96, 85%, 37%) |
| CMYK | cmyk(50.5%, 0%, 85.3%, 62.7%) |
| CIE-LAB | lab(35.64, -31.02, 37.74) |
| CIE-LCH | lch(35.64, 48.85, 129.42°) |
| OKLab | oklab(43.48% -0.0865 0.0835) |
| OKLCH | oklch(43.48% 0.12 136) |
| XYZ | xyz(5.3436, 8.8201, 1.8363) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.50
Navy Green
#35530A
ΔE00 4.65
Forest
#0B5509
ΔE00 5.02
Deep Green
#02590F
ΔE00 5.06
Forest Green
#2D5A27
ΔE00 5.54
Camouflage Green
#4B6113
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5F0E #3E0E5F
analogous
#585F0E #2F5F0E #0E5F16
triadic
#2F5F0E #0E2F5F #5F0E2F
tetradic
#2F5F0E #0E585F #3E0E5F #5F160E
square
#2F5F0E #0E585F #3E0E5F #5F160E
split-complementary
#2F5F0E #160E5F #5F0E58
monochromatic
#0D1B04 #152A06 #2F5F0E #499416 #64CA1E
Accessibility & contrast
On white
7.60
#2F5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2F5F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5F0E
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5F0E | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2D5B50
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f5f0e; /* rgb */ color: rgb(47, 95, 14); /* oklch */ color: oklch(43.5% 0.120 136.0);
Tailwind
colors: {
custom: {
50: '#6d8d55',
500: '#2f5f0e',
950: '#000000',
},
}SCSS
$custom: #2f5f0e; $custom-light: #6d8d55; $custom-dark: #000000;
JSON
{
"hex": "#2f5f0e",
"rgb": {
"r": 47,
"g": 95,
"b": 14
},
"hsl": {
"h": 95.556,
"s": 74.312,
"l": 21.373
},
"oklch": {
"l": 0.43483,
"c": 0.12024,
"h": 136
},
"luminance": 0.0882
}Semantic roles & 50–950 ramp
primary
#2F5F0E
secondary
#6E3099
accent
#37F1A5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78