#2F4F0E#2F4F0E
#2F4F0E is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.098 H 132.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F0E |
|---|---|
| RGB | rgb(47, 79, 14) |
| HSL | hsl(90, 70%, 18%) |
| HSV | hsv(90, 82%, 31%) |
| CMYK | cmyk(40.5%, 0%, 82.3%, 69%) |
| CIE-LAB | lab(29.98, -23.59, 32.37) |
| CIE-LCH | lch(29.98, 40.06, 126.08°) |
| OKLab | oklab(38.85% -0.0665 0.0722) |
| OKLCH | oklch(38.85% 0.098 132.6) |
| XYZ | xyz(4.0475, 6.2278, 1.4042) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.00
Dark Olive Green
#3C4D03
ΔE00 4.59
Forrest Green
#154406
ΔE00 4.98
Forest Green
#2D5A27
ΔE00 5.63
Forest
#0B5509
ΔE00 5.63
Bottle Green
#044A05
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F0E #2E0E4F
analogous
#4F4E0E #2F4F0E #0F4F0E
triadic
#2F4F0E #0E2F4F #4F0E2F
tetradic
#2F4F0E #0E4F4E #2E0E4F #4F0E0F
square
#2F4F0E #0E4F4E #2E0E4F #4F0E0F
split-complementary
#2F4F0E #0E0F4F #4E0E4F
monochromatic
#0F1A05 #101B05 #2F4F0E #4E8317 #6DB720
Accessibility & contrast
On white
9.35
#2F4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F4F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F0E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F0E | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534802
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#2F4B43
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f4f0e; /* rgb */ color: rgb(47, 79, 14); /* oklch */ color: oklch(38.8% 0.098 132.6);
Tailwind
colors: {
custom: {
50: '#6b8052',
500: '#2f4f0e',
950: '#000000',
},
}SCSS
$custom: #2f4f0e; $custom-light: #6b8052; $custom-dark: #000000;
JSON
{
"hex": "#2f4f0e",
"rgb": {
"r": 47,
"g": 79,
"b": 14
},
"hsl": {
"h": 89.538,
"s": 69.892,
"l": 18.235
},
"oklch": {
"l": 0.38846,
"c": 0.09819,
"h": 132.6
},
"luminance": 0.06228
}Semantic roles & 50–950 ramp
primary
#2F4F0E
secondary
#5C2F8A
accent
#3BED93
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78