#2F6711#2F6711
#2F6711 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.129 H 137.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6711 |
|---|---|
| RGB | rgb(47, 103, 17) |
| HSL | hsl(99, 72%, 24%) |
| HSV | hsv(99, 83%, 40%) |
| CMYK | cmyk(54.4%, 0%, 83.5%, 59.6%) |
| CIE-LAB | lab(38.45, -34.27, 39.38) |
| CIE-LCH | lch(38.45, 52.20, 131.04°) |
| OKLab | oklab(45.81% -0.0951 0.0874) |
| OKLCH | oklch(45.81% 0.129 137.4) |
| XYZ | xyz(6.1235, 10.3448, 2.2043) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.77
Deep Green
#02590F
ΔE00 6.22
Camouflage Green
#4B6113
ΔE00 6.63
Forest
#0B5509
ΔE00 6.74
Forest Green
#2D5A27
ΔE00 6.97
Navy Green
#35530A
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6711 #491167
analogous
#5A6711 #2F6711 #11671E
triadic
#2F6711 #112F67 #67112F
tetradic
#2F6711 #115A67 #491167 #671E11
square
#2F6711 #115A67 #491167 #671E11
split-complementary
#2F6711 #1E1167 #67115A
monochromatic
#0C1A04 #173208 #2F6711 #479C1A #5FD022
Accessibility & contrast
On white
6.84
#2F6711 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2F6711 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6711
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6711 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6711 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f6711; /* rgb */ color: rgb(47, 103, 17); /* oklch */ color: oklch(45.8% 0.129 137.4);
Tailwind
colors: {
custom: {
50: '#6e9357',
500: '#2f6711',
950: '#000000',
},
}SCSS
$custom: #2f6711; $custom-light: #6e9357; $custom-dark: #000000;
JSON
{
"hex": "#2f6711",
"rgb": {
"r": 47,
"g": 103,
"b": 17
},
"hsl": {
"h": 99.07,
"s": 71.667,
"l": 23.529
},
"oklch": {
"l": 0.45807,
"c": 0.12915,
"h": 137.4
},
"luminance": 0.10345
}Semantic roles & 50–950 ramp
primary
#2F6711
secondary
#7A359F
accent
#39EEAF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78