#2F6517#2F6517
#2F6517 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.123 H 137.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6517 |
|---|---|
| RGB | rgb(47, 101, 23) |
| HSL | hsl(102, 63%, 24%) |
| HSV | hsv(102, 77%, 40%) |
| CMYK | cmyk(53.5%, 0%, 77.2%, 60.4%) |
| CIE-LAB | lab(37.79, -33.00, 36.51) |
| CIE-LCH | lch(37.79, 49.22, 132.11°) |
| OKLab | oklab(45.28% -0.0912 0.0824) |
| OKLCH | oklch(45.28% 0.123 137.9) |
| XYZ | xyz(5.9804, 9.9731, 2.4203) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.89
Deep Green
#02590F
ΔE00 5.50
Forest Green
#2D5A27
ΔE00 5.82
Forest
#0B5509
ΔE00 6.02
Navy Green
#35530A
ΔE00 6.65
Camouflage Green
#4B6113
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6517 #4D1765
analogous
#566517 #2F6517 #176526
triadic
#2F6517 #172F65 #65172F
tetradic
#2F6517 #175665 #4D1765 #652617
square
#2F6517 #175665 #4D1765 #652617
split-complementary
#2F6517 #261765 #651756
monochromatic
#0C1906 #18330C #2F6517 #469722 #5DC92E
Accessibility & contrast
On white
7.01
#2F6517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2F6517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6517
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6517 | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#2B6156
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f6517; /* rgb */ color: rgb(47, 101, 23); /* oklch */ color: oklch(45.3% 0.123 137.9);
Tailwind
colors: {
custom: {
50: '#6e915a',
500: '#2f6517',
950: '#000000',
},
}SCSS
$custom: #2f6517; $custom-light: #6e915a; $custom-dark: #000000;
JSON
{
"hex": "#2f6517",
"rgb": {
"r": 47,
"g": 101,
"b": 23
},
"hsl": {
"h": 101.538,
"s": 62.903,
"l": 24.314
},
"oklch": {
"l": 0.45276,
"c": 0.12293,
"h": 137.9
},
"luminance": 0.09974
}Semantic roles & 50–950 ramp
primary
#2F6517
secondary
#7E3C9B
accent
#42E6B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79