#1F6B15#1F6B15
#1F6B15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.139 H 141.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6B15 |
|---|---|
| RGB | rgb(31, 107, 21) |
| HSL | hsl(113, 67%, 25%) |
| HSV | hsv(113, 80%, 42%) |
| CMYK | cmyk(71%, 0%, 80.4%, 58%) |
| CIE-LAB | lab(39.34, -39.93, 38.64) |
| CIE-LCH | lch(39.34, 55.57, 135.94°) |
| OKLab | oklab(46.4% -0.109 0.0867) |
| OKLCH | oklch(46.4% 0.139 141.5) |
| XYZ | xyz(5.9578, 10.8602, 2.4916) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.98
Deep Green
#02590F
ΔE00 6.18
Tree Green
#2A7E19
ΔE00 6.64
Darkish Green
#287C37
ΔE00 6.92
Forest
#0B5509
ΔE00 7.18
Green
#008000
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6B15 #61156B
analogous
#4A6B15 #1F6B15 #156B36
triadic
#1F6B15 #151F6B #6B151F
tetradic
#1F6B15 #154A6B #61156B #6B3615
square
#1F6B15 #154A6B #61156B #6B3615
split-complementary
#1F6B15 #36156B #6B154A
monochromatic
#071A05 #10380B #1F6B15 #2E9E1F #3DD129
Accessibility & contrast
On white
6.62
#1F6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#1F6B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6B15
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6B15 | 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)
#6E6003
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#0E675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #1f6b15; /* rgb */ color: rgb(31, 107, 21); /* oklch */ color: oklch(46.4% 0.139 141.5);
Tailwind
colors: {
custom: {
50: '#679659',
500: '#1f6b15',
950: '#000000',
},
}SCSS
$custom: #1f6b15; $custom-light: #679659; $custom-dark: #000000;
JSON
{
"hex": "#1f6b15",
"rgb": {
"r": 31,
"g": 107,
"b": 21
},
"hsl": {
"h": 113.023,
"s": 67.188,
"l": 25.098
},
"oklch": {
"l": 0.46398,
"c": 0.13925,
"h": 141.5
},
"luminance": 0.10861
}Semantic roles & 50–950 ramp
primary
#1F6B15
secondary
#963AA2
accent
#3EEAD6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79