#2F4C0F#2F4C0F
#2F4C0F is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.093 H 131.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C0F |
|---|---|
| RGB | rgb(47, 76, 15) |
| HSL | hsl(89, 67%, 18%) |
| HSV | hsv(89, 80%, 30%) |
| CMYK | cmyk(38.2%, 0%, 80.3%, 70.2%) |
| CIE-LAB | lab(28.92, -22.02, 30.93) |
| CIE-LCH | lch(28.92, 37.97, 125.45°) |
| OKLab | oklab(37.98% -0.0622 0.0694) |
| OKLCH | oklch(37.98% 0.093 131.9) |
| XYZ | xyz(3.8429, 5.8076, 1.3703) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.86
Dark Olive Green
#3C4D03
ΔE00 4.46
Forrest Green
#154406
ΔE00 4.64
Bottle Green
#044A05
ΔE00 5.83
Darkgreen (survey)
#054907
ΔE00 5.83
Racing Green
#014600
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C0F #2C0F4C
analogous
#4C4A0F #2F4C0F #104C0F
triadic
#2F4C0F #0F2F4C #4C0F2F
tetradic
#2F4C0F #0F4C4A #2C0F4C #4C0F10
square
#2F4C0F #0F4C4A #2C0F4C #4C0F10
split-complementary
#2F4C0F #0F104C #4A0F4C
monochromatic
#101A05 #101A05 #2F4C0F #4F7F19 #6EB223
Accessibility & contrast
On white
9.72
#2F4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F4C0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C0F
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C0F | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#4C4315
Tritanopia (blue-blind)
#304940
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f4c0f; /* rgb */ color: rgb(47, 76, 15); /* oklch */ color: oklch(38.0% 0.093 131.9);
Tailwind
colors: {
custom: {
50: '#6a7e52',
500: '#2f4c0f',
950: '#000000',
},
}SCSS
$custom: #2f4c0f; $custom-light: #6a7e52; $custom-dark: #000000;
JSON
{
"hex": "#2f4c0f",
"rgb": {
"r": 47,
"g": 76,
"b": 15
},
"hsl": {
"h": 88.525,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.37984,
"c": 0.09317,
"h": 131.9
},
"luminance": 0.05808
}Semantic roles & 50–950 ramp
primary
#2F4C0F
secondary
#593186
accent
#3EEA90
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78