#1F6B17#1F6B17
#1F6B17 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.138 H 141.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6B17 |
|---|---|
| RGB | rgb(31, 107, 23) |
| HSL | hsl(114, 65%, 25%) |
| HSV | hsv(114, 79%, 42%) |
| CMYK | cmyk(71%, 0%, 78.5%, 58%) |
| CIE-LAB | lab(39.36, -39.78, 37.90) |
| CIE-LCH | lch(39.36, 54.94, 136.38°) |
| OKLab | oklab(46.41% -0.1084 0.0854) |
| OKLCH | oklch(46.41% 0.138 141.8) |
| XYZ | xyz(5.9771, 10.8679, 2.5932) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.08
Deep Green
#02590F
ΔE00 6.12
Tree Green
#2A7E19
ΔE00 6.70
Darkish Green
#287C37
ΔE00 6.78
Forest
#0B5509
ΔE00 7.14
Forest Green
#2D5A27
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6B17 #63176B
analogous
#496B17 #1F6B17 #176B39
triadic
#1F6B17 #171F6B #6B171F
tetradic
#1F6B17 #17496B #63176B #6B3917
square
#1F6B17 #17496B #63176B #6B3917
split-complementary
#1F6B17 #39176B #6B1749
monochromatic
#071905 #10390C #1F6B17 #2E9D22 #3CD02D
Accessibility & contrast
On white
6.62
#1F6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#1F6B17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6B17
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6B17 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6006
Deuteranopia (green-blind)
#655A20
Tritanopia (blue-blind)
#0E685B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #1f6b17; /* rgb */ color: rgb(31, 107, 23); /* oklch */ color: oklch(46.4% 0.138 141.8);
Tailwind
colors: {
custom: {
50: '#67965a',
500: '#1f6b17',
950: '#000000',
},
}SCSS
$custom: #1f6b17; $custom-light: #67965a; $custom-dark: #000000;
JSON
{
"hex": "#1f6b17",
"rgb": {
"r": 31,
"g": 107,
"b": 23
},
"hsl": {
"h": 114.286,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.46413,
"c": 0.13806,
"h": 141.8
},
"luminance": 0.10869
}Semantic roles & 50–950 ramp
primary
#1F6B17
secondary
#983DA1
accent
#40E8D8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79