#1F861F#1F861F
#1F861F is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.166 H 142.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F861F |
|---|---|
| RGB | rgb(31, 134, 31) |
| HSL | hsl(120, 62%, 32%) |
| HSV | hsv(120, 77%, 53%) |
| CMYK | cmyk(76.9%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(48.81, -48.64, 44.32) |
| CIE-LCH | lch(48.81, 65.81, 137.66°) |
| OKLab | oklab(54.28% -0.132 0.1) |
| OKLCH | oklch(54.28% 0.166 142.9) |
| XYZ | xyz(9.3369, 17.4394, 4.1701) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.81
Tree Green
#2A7E19
ΔE00 2.93
Green
#008000
ΔE00 3.05
Emerald Green
#028F1E
ΔE00 3.23
Dark Grass Green
#388004
ΔE00 4.16
Irish Green
#019529
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F861F #861F86
analogous
#53861F #1F861F #1F8653
triadic
#1F861F #1F1F86 #861F1F
tetradic
#1F861F #1F5386 #861F86 #86531F
square
#1F861F #1F5386 #861F86 #86531F
split-complementary
#1F861F #531F86 #861F53
monochromatic
#082308 #145414 #1F861F #2AB82A #4AD54A
Accessibility & contrast
On white
4.68
#1F861F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#1F861F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F861F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F861F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F861F | 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)
#89790A
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f861f; /* rgb */ color: rgb(31, 134, 31); /* oklch */ color: oklch(54.3% 0.166 142.9);
Tailwind
colors: {
custom: {
50: '#6daa62',
500: '#1f861f',
950: '#000000',
},
}SCSS
$custom: #1f861f; $custom-light: #6daa62; $custom-dark: #000000;
JSON
{
"hex": "#1f861f",
"rgb": {
"r": 31,
"g": 134,
"b": 31
},
"hsl": {
"h": 120,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54275,
"c": 0.16563,
"h": 142.9
},
"luminance": 0.1744
}Semantic roles & 50–950 ramp
primary
#1F861F
secondary
#B849B8
accent
#42E5E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A