#1F671F#1F671F
#1F671F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.127 H 143.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F671F |
|---|---|
| RGB | rgb(31, 103, 31) |
| HSL | hsl(120, 54%, 26%) |
| HSV | hsv(120, 70%, 40%) |
| CMYK | cmyk(69.9%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(38.00, -37.50, 33.07) |
| CIE-LCH | lch(38.00, 50.00, 138.59°) |
| OKLab | oklab(45.31% -0.1018 0.0764) |
| OKLCH | oklch(45.31% 0.127 143.1) |
| XYZ | xyz(5.6623, 10.0901, 2.9452) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.52
Deep Green
#02590F
ΔE00 4.77
Forest Green
#2D5A27
ΔE00 5.69
Forest
#0B5509
ΔE00 5.90
Pine
#2B5D34
ΔE00 7.02
Darkish Green
#287C37
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F671F #671F67
analogous
#43671F #1F671F #1F6743
triadic
#1F671F #1F1F67 #671F1F
tetradic
#1F671F #1F4367 #671F67 #67431F
square
#1F671F #1F4367 #671F67 #67431F
split-complementary
#1F671F #431F67 #671F43
monochromatic
#071807 #113811 #1F671F #2D962D #3CC43C
Accessibility & contrast
On white
6.96
#1F671F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#1F671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F671F
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F671F | 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)
#695D16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#0E6458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1f671f; /* rgb */ color: rgb(31, 103, 31); /* oklch */ color: oklch(45.3% 0.127 143.1);
Tailwind
colors: {
custom: {
50: '#66935e',
500: '#1f671f',
950: '#000000',
},
}SCSS
$custom: #1f671f; $custom-light: #66935e; $custom-dark: #000000;
JSON
{
"hex": "#1f671f",
"rgb": {
"r": 31,
"g": 103,
"b": 31
},
"hsl": {
"h": 120,
"s": 53.731,
"l": 26.275
},
"oklch": {
"l": 0.45313,
"c": 0.1273,
"h": 143.1
},
"luminance": 0.10091
}Semantic roles & 50–950 ramp
primary
#1F671F
secondary
#9B469B
accent
#4BDDDD
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79