#2F6A11#2F6A11
#2F6A11 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.7% C 0.133 H 137.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6A11 |
|---|---|
| RGB | rgb(47, 106, 17) |
| HSL | hsl(100, 72%, 24%) |
| HSV | hsv(100, 84%, 42%) |
| CMYK | cmyk(55.7%, 0%, 84%, 58.4%) |
| CIE-LAB | lab(39.50, -35.52, 40.36) |
| CIE-LCH | lch(39.50, 53.76, 131.35°) |
| OKLab | oklab(46.67% -0.0984 0.0895) |
| OKLCH | oklch(46.67% 0.133 137.7) |
| XYZ | xyz(6.4273, 10.9524, 2.3055) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.00
Tree Green
#2A7E19
ΔE00 6.89
Deep Green
#02590F
ΔE00 6.96
Camouflage Green
#4B6113
ΔE00 7.09
Forest
#0B5509
ΔE00 7.59
Darkolivegreen
#556B2F
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6A11 #4C116A
analogous
#5C6A11 #2F6A11 #116A1F
triadic
#2F6A11 #112F6A #6A112F
tetradic
#2F6A11 #115C6A #4C116A #6A1F11
square
#2F6A11 #115C6A #4C116A #6A1F11
split-complementary
#2F6A11 #1F116A #6A115C
monochromatic
#0C1A04 #183509 #2F6A11 #469F19 #5ED322
Accessibility & contrast
On white
6.58
#2F6A11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2F6A11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6A11
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6A11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6A11 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#2A665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f6a11; /* rgb */ color: rgb(47, 106, 17); /* oklch */ color: oklch(46.7% 0.133 137.7);
Tailwind
colors: {
custom: {
50: '#6f9558',
500: '#2f6a11',
950: '#000000',
},
}SCSS
$custom: #2f6a11; $custom-light: #6f9558; $custom-dark: #000000;
JSON
{
"hex": "#2f6a11",
"rgb": {
"r": 47,
"g": 106,
"b": 17
},
"hsl": {
"h": 99.775,
"s": 72.358,
"l": 24.118
},
"oklch": {
"l": 0.46669,
"c": 0.133,
"h": 137.7
},
"luminance": 0.10953
}Semantic roles & 50–950 ramp
primary
#2F6A11
secondary
#7D35A2
accent
#39EFB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79