#2F460F#2F460F
#2F460F is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.084 H 129.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F460F |
|---|---|
| RGB | rgb(47, 70, 15) |
| HSL | hsl(85, 65%, 17%) |
| HSV | hsv(85, 79%, 27%) |
| CMYK | cmyk(32.9%, 0%, 78.6%, 72.5%) |
| CIE-LAB | lab(26.79, -18.91, 28.79) |
| CIE-LCH | lch(26.79, 34.44, 123.29°) |
| OKLab | oklab(36.25% -0.0537 0.0649) |
| OKLCH | oklch(36.25% 0.084 129.6) |
| XYZ | xyz(3.4487, 5.0190, 1.2389) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Olive Green
#3C4D03
ΔE00 4.73
Navy Green
#35530A
ΔE00 4.81
Forrest Green
#154406
ΔE00 4.94
Dark Olive
#373E02
ΔE00 5.74
Hunter Green (survey)
#0B4008
ΔE00 6.23
Forest Green (survey)
#06470C
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F460F #260F46
analogous
#46420F #2F460F #14460F
triadic
#2F460F #0F2F46 #460F2F
tetradic
#2F460F #0F4642 #260F46 #460F14
square
#2F460F #0F4642 #260F46 #460F14
split-complementary
#2F460F #0F1446 #420F46
monochromatic
#111905 #111905 #2F460F #51781A #73AB25
Accessibility & contrast
On white
10.48
#2F460F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F460F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F460F
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F460F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F460F | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4006
Deuteranopia (green-blind)
#463F14
Tritanopia (blue-blind)
#31433B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f460f; /* rgb */ color: rgb(47, 70, 15); /* oklch */ color: oklch(36.2% 0.084 129.6);
Tailwind
colors: {
custom: {
50: '#6a7951',
500: '#2f460f',
950: '#000000',
},
}SCSS
$custom: #2f460f; $custom-light: #6a7951; $custom-dark: #000000;
JSON
{
"hex": "#2f460f",
"rgb": {
"r": 47,
"g": 70,
"b": 15
},
"hsl": {
"h": 85.091,
"s": 64.706,
"l": 16.667
},
"oklch": {
"l": 0.36247,
"c": 0.08424,
"h": 129.6
},
"luminance": 0.05019
}Semantic roles & 50–950 ramp
primary
#2F460F
secondary
#523080
accent
#40E886
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78