#2F6611#2F6611
#2F6611 is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.128 H 137.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6611 |
|---|---|
| RGB | rgb(47, 102, 17) |
| HSL | hsl(99, 71%, 23%) |
| HSV | hsv(99, 83%, 40%) |
| CMYK | cmyk(53.9%, 0%, 83.3%, 60%) |
| CIE-LAB | lab(38.11, -33.85, 39.05) |
| CIE-LCH | lch(38.11, 51.68, 130.92°) |
| OKLab | oklab(45.52% -0.094 0.0867) |
| OKLCH | oklch(45.52% 0.128 137.3) |
| XYZ | xyz(6.0246, 10.1471, 2.1713) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.75
Deep Green
#02590F
ΔE00 6.00
Forest
#0B5509
ΔE00 6.47
Camouflage Green
#4B6113
ΔE00 6.50
Forest Green
#2D5A27
ΔE00 6.72
Navy Green
#35530A
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6611 #481166
analogous
#596611 #2F6611 #11661E
triadic
#2F6611 #112F66 #66112F
tetradic
#2F6611 #115966 #481166 #661E11
square
#2F6611 #115966 #481166 #661E11
split-complementary
#2F6611 #1E1166 #661159
monochromatic
#0C1A04 #173208 #2F6611 #479A1A #5FCF22
Accessibility & contrast
On white
6.93
#2F6611 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2F6611 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6611
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6611 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6611 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#2B6256
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f6611; /* rgb */ color: rgb(47, 102, 17); /* oklch */ color: oklch(45.5% 0.128 137.3);
Tailwind
colors: {
custom: {
50: '#6e9257',
500: '#2f6611',
950: '#000000',
},
}SCSS
$custom: #2f6611; $custom-light: #6e9257; $custom-dark: #000000;
JSON
{
"hex": "#2f6611",
"rgb": {
"r": 47,
"g": 102,
"b": 17
},
"hsl": {
"h": 98.824,
"s": 71.429,
"l": 23.333
},
"oklch": {
"l": 0.4552,
"c": 0.12785,
"h": 137.3
},
"luminance": 0.10148
}Semantic roles & 50–950 ramp
primary
#2F6611
secondary
#79359E
accent
#3AEEAE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78