#1F6917#1F6917
#1F6917 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.136 H 141.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6917 |
|---|---|
| RGB | rgb(31, 105, 23) |
| HSL | hsl(114, 64%, 25%) |
| HSV | hsv(114, 78%, 41%) |
| CMYK | cmyk(70.5%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(38.65, -39.03, 37.19) |
| CIE-LCH | lch(38.65, 53.91, 136.38°) |
| OKLab | oklab(45.83% -0.1064 0.084) |
| OKLCH | oklch(45.83% 0.136 141.7) |
| XYZ | xyz(5.7710, 10.4557, 2.5245) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.74
Deep Green
#02590F
ΔE00 5.48
Forest
#0B5509
ΔE00 6.49
Forest Green
#2D5A27
ΔE00 6.96
Darkish Green
#287C37
ΔE00 7.27
Tree Green
#2A7E19
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6917 #611769
analogous
#486917 #1F6917 #176938
triadic
#1F6917 #171F69 #69171F
tetradic
#1F6917 #174869 #611769 #693817
square
#1F6917 #174869 #611769 #693817
split-complementary
#1F6917 #381769 #691748
monochromatic
#071905 #10370C #1F6917 #2E9B22 #3DCD2D
Accessibility & contrast
On white
6.79
#1F6917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#1F6917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6917
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6917 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#0F6659
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f6917; /* rgb */ color: rgb(31, 105, 23); /* oklch */ color: oklch(45.8% 0.136 141.7);
Tailwind
colors: {
custom: {
50: '#67955a',
500: '#1f6917',
950: '#000000',
},
}SCSS
$custom: #1f6917; $custom-light: #67955a; $custom-dark: #000000;
JSON
{
"hex": "#1f6917",
"rgb": {
"r": 31,
"g": 105,
"b": 23
},
"hsl": {
"h": 114.146,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.45826,
"c": 0.13557,
"h": 141.7
},
"luminance": 0.10456
}Semantic roles & 50–950 ramp
primary
#1F6917
secondary
#963D9F
accent
#41E7D7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79