#1F671B#1F671B
#1F671B is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.130 H 142.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1F671B |
|---|---|
| RGB | rgb(31, 103, 27) |
| HSL | hsl(117, 58%, 25%) |
| HSV | hsv(117, 74%, 40%) |
| CMYK | cmyk(69.9%, 0%, 73.8%, 59.6%) |
| CIE-LAB | lab(37.97, -37.91, 34.84) |
| CIE-LCH | lch(37.97, 51.49, 137.42°) |
| OKLab | oklab(45.27% -0.1032 0.0796) |
| OKLCH | oklch(45.27% 0.13 142.4) |
| XYZ | xyz(5.6128, 10.0704, 2.6847) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.98
Deep Green
#02590F
ΔE00 4.77
Forest
#0B5509
ΔE00 5.83
Forest Green
#2D5A27
ΔE00 6.03
Darkish Green
#287C37
ΔE00 7.56
Pine
#2B5D34
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F671B #631B67
analogous
#45671B #1F671B #1B673D
triadic
#1F671B #1B1F67 #671B1F
tetradic
#1F671B #1B4567 #631B67 #673D1B
square
#1F671B #1B4567 #631B67 #673D1B
split-complementary
#1F671B #3D1B67 #671B45
monochromatic
#071806 #10370E #1F671B #2E9728 #3CC834
Accessibility & contrast
On white
6.97
#1F671B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#1F671B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F671B
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F671B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F671B | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D0F
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#0F6458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f671b; /* rgb */ color: rgb(31, 103, 27); /* oklch */ color: oklch(45.3% 0.130 142.4);
Tailwind
colors: {
custom: {
50: '#66935c',
500: '#1f671b',
950: '#000000',
},
}SCSS
$custom: #1f671b; $custom-light: #66935c; $custom-dark: #000000;
JSON
{
"hex": "#1f671b",
"rgb": {
"r": 31,
"g": 103,
"b": 27
},
"hsl": {
"h": 116.842,
"s": 58.462,
"l": 25.49
},
"oklch": {
"l": 0.45272,
"c": 0.13032,
"h": 142.4
},
"luminance": 0.10071
}Semantic roles & 50–950 ramp
primary
#1F671B
secondary
#98429C
accent
#46E2D9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79