#2F6210#2F6210
#2F6210 is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.4% C 0.123 H 136.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6210 |
|---|---|
| RGB | rgb(47, 98, 16) |
| HSL | hsl(97, 72%, 22%) |
| HSV | hsv(97, 84%, 38%) |
| CMYK | cmyk(52%, 0%, 83.7%, 61.6%) |
| CIE-LAB | lab(36.70, -32.21, 38.06) |
| CIE-LCH | lch(36.70, 49.86, 130.24°) |
| OKLab | oklab(44.36% -0.0896 0.0845) |
| OKLCH | oklch(44.36% 0.123 136.7) |
| XYZ | xyz(5.6333, 9.3767, 2.0032) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.02
Deep Green
#02590F
ΔE00 5.30
Forest
#0B5509
ΔE00 5.53
Navy Green
#35530A
ΔE00 5.61
Forest Green
#2D5A27
ΔE00 5.88
Camouflage Green
#4B6113
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6210 #431062
analogous
#586210 #2F6210 #10621A
triadic
#2F6210 #102F62 #62102F
tetradic
#2F6210 #105862 #431062 #621A10
square
#2F6210 #105862 #431062 #621A10
split-complementary
#2F6210 #1A1062 #621058
monochromatic
#0D1A04 #162D07 #2F6210 #489719 #61CB21
Accessibility & contrast
On white
7.30
#2F6210 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2F6210 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6210
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6210 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6210 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f6210; /* rgb */ color: rgb(47, 98, 16); /* oklch */ color: oklch(44.4% 0.123 136.7);
Tailwind
colors: {
custom: {
50: '#6e8f56',
500: '#2f6210',
950: '#000000',
},
}SCSS
$custom: #2f6210; $custom-light: #6e8f56; $custom-dark: #000000;
JSON
{
"hex": "#2f6210",
"rgb": {
"r": 47,
"g": 98,
"b": 16
},
"hsl": {
"h": 97.317,
"s": 71.93,
"l": 22.353
},
"oklch": {
"l": 0.44361,
"c": 0.12315,
"h": 136.7
},
"luminance": 0.09377
}Semantic roles & 50–950 ramp
primary
#2F6210
secondary
#74339B
accent
#39EFAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78