#1F6717#1F6717
#1F6717 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.133 H 141.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6717 |
|---|---|
| RGB | rgb(31, 103, 23) |
| HSL | hsl(114, 63%, 25%) |
| HSV | hsv(114, 78%, 40%) |
| CMYK | cmyk(69.9%, 0%, 77.7%, 59.6%) |
| CIE-LAB | lab(37.94, -38.28, 36.48) |
| CIE-LCH | lch(37.94, 52.88, 136.38°) |
| OKLab | oklab(45.24% -0.1044 0.0825) |
| OKLCH | oklch(45.24% 0.133 141.7) |
| XYZ | xyz(5.5697, 10.0531, 2.4574) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.56
Deep Green
#02590F
ΔE00 4.85
Forest
#0B5509
ΔE00 5.84
Forest Green
#2D5A27
ΔE00 6.39
Darkish Green
#287C37
ΔE00 7.78
Tree Green
#2A7E19
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6717 #5F1767
analogous
#476717 #1F6717 #176737
triadic
#1F6717 #171F67 #67171F
tetradic
#1F6717 #174767 #5F1767 #673717
square
#1F6717 #174767 #5F1767 #673717
split-complementary
#1F6717 #371767 #671747
monochromatic
#081906 #10350C #1F6717 #2E9922 #3DCB2D
Accessibility & contrast
On white
6.97
#1F6717 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#1F6717 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6717
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6717 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#106457
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f6717; /* rgb */ color: rgb(31, 103, 23); /* oklch */ color: oklch(45.2% 0.133 141.7);
Tailwind
colors: {
custom: {
50: '#66935a',
500: '#1f6717',
950: '#000000',
},
}SCSS
$custom: #1f6717; $custom-light: #66935a; $custom-dark: #000000;
JSON
{
"hex": "#1f6717",
"rgb": {
"r": 31,
"g": 103,
"b": 23
},
"hsl": {
"h": 114,
"s": 63.492,
"l": 24.706
},
"oklch": {
"l": 0.45237,
"c": 0.13305,
"h": 141.7
},
"luminance": 0.10054
}Semantic roles & 50–950 ramp
primary
#1F6717
secondary
#943D9D
accent
#41E7D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79