#1F661E#1F661E
#1F661E is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.127 H 142.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F661E |
|---|---|
| RGB | rgb(31, 102, 30) |
| HSL | hsl(119, 55%, 26%) |
| HSV | hsv(119, 71%, 40%) |
| CMYK | cmyk(69.6%, 0%, 70.6%, 60%) |
| CIE-LAB | lab(37.64, -37.22, 33.14) |
| CIE-LCH | lch(37.64, 49.84, 138.32°) |
| OKLab | oklab(45.01% -0.1011 0.0764) |
| OKLCH | oklch(45.01% 0.127 142.9) |
| XYZ | xyz(5.5505, 9.8872, 2.8440) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.40
Deep Green
#02590F
ΔE00 4.47
Forest Green
#2D5A27
ΔE00 5.47
Forest
#0B5509
ΔE00 5.58
Pine
#2B5D34
ΔE00 6.91
Darkish Green
#287C37
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F661E #651E66
analogous
#43661E #1F661E #1E6641
triadic
#1F661E #1E1F66 #661E1F
tetradic
#1F661E #1E4366 #651E66 #66411E
square
#1F661E #1E4366 #651E66 #66411E
split-complementary
#1F661E #411E66 #661E43
monochromatic
#071807 #113710 #1F661E #2D952C #3CC53A
Accessibility & contrast
On white
7.05
#1F661E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#1F661E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F661E
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F661E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F661E | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C14
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#0F6357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f661e; /* rgb */ color: rgb(31, 102, 30); /* oklch */ color: oklch(45.0% 0.127 142.9);
Tailwind
colors: {
custom: {
50: '#65925e',
500: '#1f661e',
950: '#000000',
},
}SCSS
$custom: #1f661e; $custom-light: #65925e; $custom-dark: #000000;
JSON
{
"hex": "#1f661e",
"rgb": {
"r": 31,
"g": 102,
"b": 30
},
"hsl": {
"h": 119.167,
"s": 54.545,
"l": 25.882
},
"oklch": {
"l": 0.45008,
"c": 0.12676,
"h": 142.9
},
"luminance": 0.09888
}Semantic roles & 50–950 ramp
primary
#1F661E
secondary
#99459B
accent
#4ADEDC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79