#1F671E#1F671E
#1F671E is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.128 H 142.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F671E |
|---|---|
| RGB | rgb(31, 103, 30) |
| HSL | hsl(119, 55%, 26%) |
| HSV | hsv(119, 71%, 40%) |
| CMYK | cmyk(69.9%, 0%, 70.9%, 59.6%) |
| CIE-LAB | lab(37.99, -37.61, 33.53) |
| CIE-LCH | lch(37.99, 50.38, 138.28°) |
| OKLab | oklab(45.3% -0.1022 0.0772) |
| OKLCH | oklch(45.3% 0.128 142.9) |
| XYZ | xyz(5.6493, 10.0850, 2.8769) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.37
Deep Green
#02590F
ΔE00 4.76
Forest Green
#2D5A27
ΔE00 5.78
Forest
#0B5509
ΔE00 5.88
Pine
#2B5D34
ΔE00 7.16
Darkish Green
#287C37
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F671E #661E67
analogous
#43671E #1F671E #1E6741
triadic
#1F671E #1E1F67 #671E1F
tetradic
#1F671E #1E4367 #661E67 #67411E
square
#1F671E #1E4367 #661E67 #67411E
split-complementary
#1F671E #411E67 #671E43
monochromatic
#071807 #113810 #1F671E #2D962C #3CC63A
Accessibility & contrast
On white
6.96
#1F671E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#1F671E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F671E
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F671E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F671E | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D14
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#0E6458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f671e; /* rgb */ color: rgb(31, 103, 30); /* oklch */ color: oklch(45.3% 0.128 142.9);
Tailwind
colors: {
custom: {
50: '#66935e',
500: '#1f671e',
950: '#000000',
},
}SCSS
$custom: #1f671e; $custom-light: #66935e; $custom-dark: #000000;
JSON
{
"hex": "#1f671e",
"rgb": {
"r": 31,
"g": 103,
"b": 30
},
"hsl": {
"h": 119.178,
"s": 54.887,
"l": 26.078
},
"oklch": {
"l": 0.45302,
"c": 0.12808,
"h": 142.9
},
"luminance": 0.10086
}Semantic roles & 50–950 ramp
primary
#1F671E
secondary
#9A459C
accent
#4ADEDC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79