#2F6810#2F6810
#2F6810 is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.1% C 0.131 H 137.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6810 |
|---|---|
| RGB | rgb(47, 104, 16) |
| HSL | hsl(99, 73%, 24%) |
| HSV | hsv(99, 85%, 41%) |
| CMYK | cmyk(54.8%, 0%, 84.6%, 59.2%) |
| CIE-LAB | lab(38.80, -34.75, 40.03) |
| CIE-LCH | lch(38.80, 53.01, 130.96°) |
| OKLab | oklab(46.09% -0.0964 0.0886) |
| OKLCH | oklch(46.09% 0.131 137.4) |
| XYZ | xyz(6.2159, 10.5419, 2.1974) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.82
Deep Green
#02590F
ΔE00 6.51
Camouflage Green
#4B6113
ΔE00 6.74
Forest
#0B5509
ΔE00 7.05
Forest Green
#2D5A27
ΔE00 7.33
Camo Green
#526525
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6810 #491068
analogous
#5B6810 #2F6810 #10681D
triadic
#2F6810 #102F68 #68102F
tetradic
#2F6810 #105B68 #491068 #681D10
square
#2F6810 #105B68 #491068 #681D10
split-complementary
#2F6810 #1D1068 #68105B
monochromatic
#0C1B04 #173308 #2F6810 #479D18 #5FD220
Accessibility & contrast
On white
6.76
#2F6810 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2F6810 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6810
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6810 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6810 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#645A1A
Tritanopia (blue-blind)
#2B6458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f6810; /* rgb */ color: rgb(47, 104, 16); /* oklch */ color: oklch(46.1% 0.131 137.4);
Tailwind
colors: {
custom: {
50: '#6f9457',
500: '#2f6810',
950: '#000000',
},
}SCSS
$custom: #2f6810; $custom-light: #6f9457; $custom-dark: #000000;
JSON
{
"hex": "#2f6810",
"rgb": {
"r": 47,
"g": 104,
"b": 16
},
"hsl": {
"h": 98.864,
"s": 73.333,
"l": 23.529
},
"oklch": {
"l": 0.46089,
"c": 0.13095,
"h": 137.4
},
"luminance": 0.10542
}Semantic roles & 50–950 ramp
primary
#2F6810
secondary
#7A34A0
accent
#38F0AF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78