#2F4F10#2F4F10
#2F4F10 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.097 H 132.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F10 |
|---|---|
| RGB | rgb(47, 79, 16) |
| HSL | hsl(90, 66%, 19%) |
| HSV | hsv(90, 80%, 31%) |
| CMYK | cmyk(40.5%, 0%, 79.7%, 69%) |
| CIE-LAB | lab(29.99, -23.44, 31.58) |
| CIE-LCH | lch(29.99, 39.33, 126.59°) |
| OKLab | oklab(38.86% -0.0659 0.0709) |
| OKLCH | oklch(38.86% 0.097 132.9) |
| XYZ | xyz(4.0617, 6.2335, 1.4793) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.24
Dark Olive Green
#3C4D03
ΔE00 4.79
Forrest Green
#154406
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 5.39
Bottle Green
#044A05
ΔE00 5.57
Forest
#0B5509
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F10 #30104F
analogous
#4E4F10 #2F4F10 #104F10
triadic
#2F4F10 #102F4F #4F102F
tetradic
#2F4F10 #104E4F #30104F #4F1010
square
#2F4F10 #104E4F #30104F #4F1010
split-complementary
#2F4F10 #10104F #4F104E
monochromatic
#0F1905 #111C06 #2F4F10 #4D821A #6CB525
Accessibility & contrast
On white
9.35
#2F4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F4F10 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F10
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F10 | 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)
#534805
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#2F4C43
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f4f10; /* rgb */ color: rgb(47, 79, 16); /* oklch */ color: oklch(38.9% 0.097 132.9);
Tailwind
colors: {
custom: {
50: '#6b8053',
500: '#2f4f10',
950: '#000000',
},
}SCSS
$custom: #2f4f10; $custom-light: #6b8053; $custom-dark: #000000;
JSON
{
"hex": "#2f4f10",
"rgb": {
"r": 47,
"g": 79,
"b": 16
},
"hsl": {
"h": 90.476,
"s": 66.316,
"l": 18.627
},
"oklch": {
"l": 0.38862,
"c": 0.09684,
"h": 132.9
},
"luminance": 0.06234
}Semantic roles & 50–950 ramp
primary
#2F4F10
secondary
#5E3289
accent
#3FE995
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78