#1F6F17#1F6F17
#1F6F17 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.143 H 141.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6F17 |
|---|---|
| RGB | rgb(31, 111, 23) |
| HSL | hsl(115, 66%, 26%) |
| HSV | hsv(115, 79%, 44%) |
| CMYK | cmyk(72.1%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(40.77, -41.24, 39.30) |
| CIE-LCH | lch(40.77, 56.97, 136.38°) |
| OKLab | oklab(47.59% -0.1124 0.0884) |
| OKLCH | oklch(47.59% 0.143 141.8) |
| XYZ | xyz(6.4038, 11.7214, 2.7354) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.04
Tree Green
#2A7E19
ΔE00 5.35
Darkish Green
#287C37
ΔE00 5.90
Green
#008000
ΔE00 6.33
Dark Grass Green
#388004
ΔE00 7.29
Deep Green
#02590F
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6F17 #67176F
analogous
#4B6F17 #1F6F17 #176F3B
triadic
#1F6F17 #171F6F #6F171F
tetradic
#1F6F17 #174B6F #67176F #6F3B17
square
#1F6F17 #174B6F #67176F #6F3B17
split-complementary
#1F6F17 #3B176F #6F174B
monochromatic
#071905 #113C0C #1F6F17 #2DA222 #3CD32D
Accessibility & contrast
On white
6.28
#1F6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#1F6F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6F17
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6F17 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#0B6B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #1f6f17; /* rgb */ color: rgb(31, 111, 23); /* oklch */ color: oklch(47.6% 0.143 141.8);
Tailwind
colors: {
custom: {
50: '#68995b',
500: '#1f6f17',
950: '#000000',
},
}SCSS
$custom: #1f6f17; $custom-light: #68995b; $custom-dark: #000000;
JSON
{
"hex": "#1f6f17",
"rgb": {
"r": 31,
"g": 111,
"b": 23
},
"hsl": {
"h": 114.545,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47585,
"c": 0.14298,
"h": 141.8
},
"luminance": 0.11722
}Semantic roles & 50–950 ramp
primary
#1F6F17
secondary
#9B3DA5
accent
#3FE9D9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79