#1F671C#1F671C
#1F671C is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.130 H 142.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F671C |
|---|---|
| RGB | rgb(31, 103, 28) |
| HSL | hsl(118, 57%, 26%) |
| HSV | hsv(118, 73%, 40%) |
| CMYK | cmyk(69.9%, 0%, 72.8%, 59.6%) |
| CIE-LAB | lab(37.98, -37.81, 34.41) |
| CIE-LCH | lch(37.98, 51.13, 137.70°) |
| OKLab | oklab(45.28% -0.1028 0.0788) |
| OKLCH | oklch(45.28% 0.13 142.5) |
| XYZ | xyz(5.6246, 10.0751, 2.7466) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.11
Deep Green
#02590F
ΔE00 4.76
Forest
#0B5509
ΔE00 5.84
Forest Green
#2D5A27
ΔE00 5.95
Pine
#2B5D34
ΔE00 7.43
Darkish Green
#287C37
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F671C #641C67
analogous
#44671C #1F671C #1C673E
triadic
#1F671C #1C1F67 #671C1F
tetradic
#1F671C #1C4467 #641C67 #673E1C
square
#1F671C #1C4467 #641C67 #673E1C
split-complementary
#1F671C #3E1C67 #671C44
monochromatic
#071807 #11370F #1F671C #2D9729 #3CC736
Accessibility & contrast
On white
6.96
#1F671C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#1F671C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F671C
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F671C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F671C | 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)
#695D11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#0F6458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f671c; /* rgb */ color: rgb(31, 103, 28); /* oklch */ color: oklch(45.3% 0.130 142.5);
Tailwind
colors: {
custom: {
50: '#66935d',
500: '#1f671c',
950: '#000000',
},
}SCSS
$custom: #1f671c; $custom-light: #66935d; $custom-dark: #000000;
JSON
{
"hex": "#1f671c",
"rgb": {
"r": 31,
"g": 103,
"b": 28
},
"hsl": {
"h": 117.6,
"s": 57.252,
"l": 25.686
},
"oklch": {
"l": 0.45282,
"c": 0.12959,
"h": 142.5
},
"luminance": 0.10076
}Semantic roles & 50–950 ramp
primary
#1F671C
secondary
#98439C
accent
#47E1DA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79