#1F671D#1F671D
#1F671D is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.129 H 142.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F671D |
|---|---|
| RGB | rgb(31, 103, 29) |
| HSL | hsl(118, 56%, 26%) |
| HSV | hsv(118, 72%, 40%) |
| CMYK | cmyk(69.9%, 0%, 71.8%, 59.6%) |
| CIE-LAB | lab(37.99, -37.71, 33.97) |
| CIE-LCH | lch(37.99, 50.76, 137.99°) |
| OKLab | oklab(45.29% -0.1025 0.0781) |
| OKLCH | oklch(45.29% 0.129 142.7) |
| XYZ | xyz(5.6368, 10.0799, 2.8107) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.24
Deep Green
#02590F
ΔE00 4.76
Forest
#0B5509
ΔE00 5.86
Forest Green
#2D5A27
ΔE00 5.86
Pine
#2B5D34
ΔE00 7.30
Darkish Green
#287C37
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F671D #651D67
analogous
#44671D #1F671D #1D6740
triadic
#1F671D #1D1F67 #671D1F
tetradic
#1F671D #1D4467 #651D67 #67401D
square
#1F671D #1D4467 #651D67 #67401D
split-complementary
#1F671D #401D67 #671D44
monochromatic
#071807 #113710 #1F671D #2D972A #3CC738
Accessibility & contrast
On white
6.96
#1F671D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#1F671D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F671D
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F671D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F671D | 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)
#695D13
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#0F6458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f671d; /* rgb */ color: rgb(31, 103, 29); /* oklch */ color: oklch(45.3% 0.129 142.7);
Tailwind
colors: {
custom: {
50: '#66935d',
500: '#1f671d',
950: '#000000',
},
}SCSS
$custom: #1f671d; $custom-light: #66935d; $custom-dark: #000000;
JSON
{
"hex": "#1f671d",
"rgb": {
"r": 31,
"g": 103,
"b": 29
},
"hsl": {
"h": 118.378,
"s": 56.061,
"l": 25.882
},
"oklch": {
"l": 0.45292,
"c": 0.12885,
"h": 142.7
},
"luminance": 0.10081
}Semantic roles & 50–950 ramp
primary
#1F671D
secondary
#99449C
accent
#48DFDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79