#2F4D0F#2F4D0F
#2F4D0F is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.095 H 132.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4D0F |
|---|---|
| RGB | rgb(47, 77, 15) |
| HSL | hsl(89, 67%, 18%) |
| HSV | hsv(89, 81%, 30%) |
| CMYK | cmyk(39%, 0%, 80.5%, 69.8%) |
| CIE-LAB | lab(29.28, -22.52, 31.28) |
| CIE-LCH | lch(29.28, 38.55, 125.75°) |
| OKLab | oklab(38.27% -0.0635 0.0701) |
| OKLCH | oklch(38.27% 0.095 132.2) |
| XYZ | xyz(3.9123, 5.9464, 1.3935) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.59
Dark Olive Green
#3C4D03
ΔE00 4.51
Forrest Green
#154406
ΔE00 4.71
Bottle Green
#044A05
ΔE00 5.73
Darkgreen (survey)
#054907
ΔE00 5.76
Forest Green
#2D5A27
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4D0F #2D0F4D
analogous
#4D4C0F #2F4D0F #104D0F
triadic
#2F4D0F #0F2F4D #4D0F2F
tetradic
#2F4D0F #0F4D4C #2D0F4D #4D0F10
square
#2F4D0F #0F4D4C #2D0F4D #4D0F10
split-complementary
#2F4D0F #0F104D #4C0F4D
monochromatic
#101A05 #101A05 #2F4D0F #4E8019 #6EB323
Accessibility & contrast
On white
9.59
#2F4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F4D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4D0F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4D0F | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514604
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#304A41
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f4d0f; /* rgb */ color: rgb(47, 77, 15); /* oklch */ color: oklch(38.3% 0.095 132.2);
Tailwind
colors: {
custom: {
50: '#6b7f52',
500: '#2f4d0f',
950: '#000000',
},
}SCSS
$custom: #2f4d0f; $custom-light: #6b7f52; $custom-dark: #000000;
JSON
{
"hex": "#2f4d0f",
"rgb": {
"r": 47,
"g": 77,
"b": 15
},
"hsl": {
"h": 89.032,
"s": 67.391,
"l": 18.039
},
"oklch": {
"l": 0.38274,
"c": 0.09463,
"h": 132.2
},
"luminance": 0.05947
}Semantic roles & 50–950 ramp
primary
#2F4D0F
secondary
#5B3187
accent
#3EEA91
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78