#2F6717#2F6717
#2F6717 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.126 H 138.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6717 |
|---|---|
| RGB | rgb(47, 103, 23) |
| HSL | hsl(102, 63%, 25%) |
| HSV | hsv(102, 78%, 40%) |
| CMYK | cmyk(54.4%, 0%, 77.7%, 59.6%) |
| CIE-LAB | lab(38.49, -33.85, 37.21) |
| CIE-LCH | lch(38.49, 50.31, 132.29°) |
| OKLab | oklab(45.85% -0.0935 0.0838) |
| OKLCH | oklch(45.85% 0.126 138.1) |
| XYZ | xyz(6.1770, 10.3662, 2.4858) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.85
Deep Green
#02590F
ΔE00 5.94
Forest Green
#2D5A27
ΔE00 6.38
Forest
#0B5509
ΔE00 6.55
Camouflage Green
#4B6113
ΔE00 6.87
Navy Green
#35530A
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6717 #4F1767
analogous
#576717 #2F6717 #176727
triadic
#2F6717 #172F67 #67172F
tetradic
#2F6717 #175767 #4F1767 #672717
square
#2F6717 #175767 #4F1767 #672717
split-complementary
#2F6717 #271767 #671757
monochromatic
#0B1906 #18350C #2F6717 #469922 #5DCB2D
Accessibility & contrast
On white
6.83
#2F6717 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2F6717 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6717
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6717 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E08
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#2B6358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f6717; /* rgb */ color: rgb(47, 103, 23); /* oklch */ color: oklch(45.9% 0.126 138.1);
Tailwind
colors: {
custom: {
50: '#6e935a',
500: '#2f6717',
950: '#000000',
},
}SCSS
$custom: #2f6717; $custom-light: #6e935a; $custom-dark: #000000;
JSON
{
"hex": "#2f6717",
"rgb": {
"r": 47,
"g": 103,
"b": 23
},
"hsl": {
"h": 102,
"s": 63.492,
"l": 24.706
},
"oklch": {
"l": 0.4585,
"c": 0.12561,
"h": 138.1
},
"luminance": 0.10367
}Semantic roles & 50–950 ramp
primary
#2F6717
secondary
#803D9D
accent
#41E7B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79