#2F4D0D#2F4D0D
#2F4D0D is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.096 H 131.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D0D |
|---|---|
| RGB | rgb(47, 77, 13) |
| HSL | hsl(88, 71%, 18%) |
| HSV | hsv(88, 83%, 30%) |
| CMYK | cmyk(39%, 0%, 83.1%, 69.8%) |
| CIE-LAB | lab(29.26, -22.66, 32.07) |
| CIE-LCH | lch(29.26, 39.27, 125.24°) |
| OKLab | oklab(38.26% -0.0641 0.0714) |
| OKLCH | oklch(38.26% 0.096 131.9) |
| XYZ | xyz(3.8988, 5.9410, 1.3220) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.38
Dark Olive Green
#3C4D03
ΔE00 4.30
Forrest Green
#154406
ΔE00 4.80
Bottle Green
#044A05
ΔE00 5.79
Darkgreen (survey)
#054907
ΔE00 5.84
Racing Green
#014600
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D0D #2B0D4D
analogous
#4D4B0D #2F4D0D #0F4D0D
triadic
#2F4D0D #0D2F4D #4D0D2F
tetradic
#2F4D0D #0D4D4B #2B0D4D #4D0D0F
square
#2F4D0D #0D4D4B #2B0D4D #4D0D0F
split-complementary
#2F4D0D #0D0F4D #4B0D4D
monochromatic
#101A04 #101A04 #2F4D0D #4F8116 #6FB61F
Accessibility & contrast
On white
9.60
#2F4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F4D0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D0D
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D0D | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514602
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#304941
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f4d0d; /* rgb */ color: rgb(47, 77, 13); /* oklch */ color: oklch(38.3% 0.096 131.9);
Tailwind
colors: {
custom: {
50: '#6b7f51',
500: '#2f4d0d',
950: '#000000',
},
}SCSS
$custom: #2f4d0d; $custom-light: #6b7f51; $custom-dark: #000000;
JSON
{
"hex": "#2f4d0d",
"rgb": {
"r": 47,
"g": 77,
"b": 13
},
"hsl": {
"h": 88.125,
"s": 71.111,
"l": 17.647
},
"oklch": {
"l": 0.38259,
"c": 0.09597,
"h": 131.9
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#2F4D0D
secondary
#582E88
accent
#3AEE8E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78