#1F661A#1F661A
#1F661A is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.130 H 142.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F661A |
|---|---|
| RGB | rgb(31, 102, 26) |
| HSL | hsl(116, 59%, 25%) |
| HSV | hsv(116, 75%, 40%) |
| CMYK | cmyk(69.6%, 0%, 74.5%, 60%) |
| CIE-LAB | lab(37.60, -37.63, 34.89) |
| CIE-LCH | lch(37.60, 51.32, 137.16°) |
| OKLab | oklab(44.97% -0.1025 0.0796) |
| OKLCH | oklch(44.97% 0.13 142.2) |
| XYZ | xyz(5.5026, 9.8681, 2.5918) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.86
Deep Green
#02590F
ΔE00 4.48
Forest
#0B5509
ΔE00 5.52
Forest Green
#2D5A27
ΔE00 5.83
Pine
#2B5D34
ΔE00 7.47
Darkish Green
#287C37
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F661A #611A66
analogous
#45661A #1F661A #1A663B
triadic
#1F661A #1A1F66 #661A1F
tetradic
#1F661A #1A4566 #611A66 #663B1A
square
#1F661A #1A4566 #611A66 #663B1A
split-complementary
#1F661A #3B1A66 #661A45
monochromatic
#071806 #10350E #1F661A #2E9726 #3DC833
Accessibility & contrast
On white
7.06
#1F661A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#1F661A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F661A
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F661A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F661A | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C0E
Deuteranopia (green-blind)
#605621
Tritanopia (blue-blind)
#106357
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #1f661a; /* rgb */ color: rgb(31, 102, 26); /* oklch */ color: oklch(45.0% 0.130 142.2);
Tailwind
colors: {
custom: {
50: '#66925b',
500: '#1f661a',
950: '#000000',
},
}SCSS
$custom: #1f661a; $custom-light: #66925b; $custom-dark: #000000;
JSON
{
"hex": "#1f661a",
"rgb": {
"r": 31,
"g": 102,
"b": 26
},
"hsl": {
"h": 116.053,
"s": 59.375,
"l": 25.098
},
"oklch": {
"l": 0.44968,
"c": 0.12974,
"h": 142.2
},
"luminance": 0.09869
}Semantic roles & 50–950 ramp
primary
#1F661A
secondary
#96409C
accent
#45E3D8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79