#2F4F0D#2F4F0D
#2F4F0D is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.099 H 132.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F0D |
|---|---|
| RGB | rgb(47, 79, 13) |
| HSL | hsl(89, 72%, 18%) |
| HSV | hsv(89, 84%, 31%) |
| CMYK | cmyk(40.5%, 0%, 83.5%, 69%) |
| CIE-LAB | lab(29.97, -23.65, 32.75) |
| CIE-LCH | lch(29.97, 40.40, 125.84°) |
| OKLab | oklab(38.84% -0.0668 0.0729) |
| OKLCH | oklch(38.84% 0.099 132.5) |
| XYZ | xyz(4.0409, 6.2252, 1.3694) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.90
Dark Olive Green
#3C4D03
ΔE00 4.50
Forrest Green
#154406
ΔE00 5.03
Forest
#0B5509
ΔE00 5.65
Bottle Green
#044A05
ΔE00 5.67
Forest Green
#2D5A27
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F0D #2D0D4F
analogous
#4F4E0D #2F4F0D #0E4F0D
triadic
#2F4F0D #0D2F4F #4F0D2F
tetradic
#2F4F0D #0D4F4E #2D0D4F #4F0D0E
square
#2F4F0D #0D4F4E #2D0D4F #4F0D0E
split-complementary
#2F4F0D #0D0E4F #4E0D4F
monochromatic
#101A04 #101A04 #2F4F0D #4E8416 #6EB81E
Accessibility & contrast
On white
9.35
#2F4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F4F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F0D
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F0D | 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)
#534801
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#2F4B43
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f4f0d; /* rgb */ color: rgb(47, 79, 13); /* oklch */ color: oklch(38.8% 0.099 132.5);
Tailwind
colors: {
custom: {
50: '#6b8052',
500: '#2f4f0d',
950: '#000000',
},
}SCSS
$custom: #2f4f0d; $custom-light: #6b8052; $custom-dark: #000000;
JSON
{
"hex": "#2f4f0d",
"rgb": {
"r": 47,
"g": 79,
"b": 13
},
"hsl": {
"h": 89.091,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.38839,
"c": 0.09883,
"h": 132.5
},
"luminance": 0.06225
}Semantic roles & 50–950 ramp
primary
#2F4F0D
secondary
#5B2E8A
accent
#39EE91
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78