#1F861E#1F861E
#1F861E is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.166 H 142.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F861E |
|---|---|
| RGB | rgb(31, 134, 30) |
| HSL | hsl(119, 63%, 32%) |
| HSV | hsv(119, 78%, 53%) |
| CMYK | cmyk(76.9%, 0%, 77.6%, 47.5%) |
| CIE-LAB | lab(48.80, -48.72, 44.68) |
| CIE-LCH | lch(48.80, 66.11, 137.48°) |
| OKLab | oklab(54.27% -0.1323 0.1006) |
| OKLCH | oklch(54.27% 0.166 142.8) |
| XYZ | xyz(9.3239, 17.4342, 4.1018) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.81
Tree Green
#2A7E19
ΔE00 2.91
Green
#008000
ΔE00 2.98
Emerald Green
#028F1E
ΔE00 3.22
Dark Grass Green
#388004
ΔE00 4.08
Irish Green
#019529
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F861E #851E86
analogous
#53861E #1F861E #1E8651
triadic
#1F861E #1E1F86 #861E1F
tetradic
#1F861E #1E5386 #851E86 #86511E
square
#1F861E #1E5386 #851E86 #86511E
split-complementary
#1F861E #511E86 #861E53
monochromatic
#082208 #135413 #1F861E #2BB829 #4AD648
Accessibility & contrast
On white
4.68
#1F861E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#1F861E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F861E
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F861E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F861E | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f861e; /* rgb */ color: rgb(31, 134, 30); /* oklch */ color: oklch(54.3% 0.166 142.8);
Tailwind
colors: {
custom: {
50: '#6daa62',
500: '#1f861e',
950: '#000000',
},
}SCSS
$custom: #1f861e; $custom-light: #6daa62; $custom-dark: #000000;
JSON
{
"hex": "#1f861e",
"rgb": {
"r": 31,
"g": 134,
"b": 30
},
"hsl": {
"h": 119.423,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.54268,
"c": 0.16621,
"h": 142.8
},
"luminance": 0.17435
}Semantic roles & 50–950 ramp
primary
#1F861E
secondary
#B747B8
accent
#41E6E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A