#1F861C#1F861C
#1F861C is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.167 H 142.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F861C |
|---|---|
| RGB | rgb(31, 134, 28) |
| HSL | hsl(118, 65%, 32%) |
| HSV | hsv(118, 79%, 53%) |
| CMYK | cmyk(76.9%, 0%, 79.1%, 47.5%) |
| CIE-LAB | lab(48.79, -48.87, 45.38) |
| CIE-LCH | lch(48.79, 66.69, 137.12°) |
| OKLab | oklab(54.25% -0.1328 0.1018) |
| OKLCH | oklch(54.25% 0.167 142.5) |
| XYZ | xyz(9.2992, 17.4243, 3.9715) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.83
Green
#008000
ΔE00 2.87
Tree Green
#2A7E19
ΔE00 2.89
Emerald Green
#028F1E
ΔE00 3.21
Dark Grass Green
#388004
ΔE00 3.92
True Green
#089404
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F861C #831C86
analogous
#54861C #1F861C #1C864E
triadic
#1F861C #1C1F86 #861C1F
tetradic
#1F861C #1C5486 #831C86 #864E1C
square
#1F861C #1C5486 #831C86 #864E1C
split-complementary
#1F861C #4E1C86 #861C54
monochromatic
#082107 #135311 #1F861C #2BB927 #49D844
Accessibility & contrast
On white
4.68
#1F861C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#1F861C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F861C
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F861C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F861C | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897902
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f861c; /* rgb */ color: rgb(31, 134, 28); /* oklch */ color: oklch(54.3% 0.167 142.5);
Tailwind
colors: {
custom: {
50: '#6daa61',
500: '#1f861c',
950: '#000000',
},
}SCSS
$custom: #1f861c; $custom-light: #6daa61; $custom-dark: #000000;
JSON
{
"hex": "#1f861c",
"rgb": {
"r": 31,
"g": 134,
"b": 28
},
"hsl": {
"h": 118.302,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.54254,
"c": 0.16731,
"h": 142.5
},
"luminance": 0.17425
}Semantic roles & 50–950 ramp
primary
#1F861C
secondary
#B645B9
accent
#3FE8E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A