#1F862E#1F862E
#1F862E is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.155 H 145.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F862E |
|---|---|
| RGB | rgb(31, 134, 46) |
| HSL | hsl(129, 62%, 32%) |
| HSV | hsv(129, 77%, 53%) |
| CMYK | cmyk(76.9%, 0%, 65.7%, 47.5%) |
| CIE-LAB | lab(48.93, -47.16, 38.18) |
| CIE-LCH | lch(48.93, 60.68, 141.01°) |
| OKLab | oklab(54.42% -0.1273 0.0889) |
| OKLCH | oklch(54.42% 0.155 145.1) |
| XYZ | xyz(9.5826, 17.5376, 5.4643) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.80
Tree Green
#2A7E19
ΔE00 3.88
Emerald Green
#028F1E
ΔE00 4.01
Darkish Green
#287C37
ΔE00 4.33
Green
#008000
ΔE00 4.57
Kelley Green
#009337
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F862E #861F77
analogous
#43861F #1F862E #1F8662
triadic
#1F862E #2E1F86 #862E1F
tetradic
#1F862E #1F4386 #861F77 #86621F
square
#1F862E #1F4386 #861F77 #86621F
split-complementary
#1F862E #621F86 #861F43
monochromatic
#08230C #14541D #1F862E #2AB83F #4AD55E
Accessibility & contrast
On white
4.66
#1F862E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#1F862E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1F862E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F862E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F862E | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887923
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f862e; /* rgb */ color: rgb(31, 134, 46); /* oklch */ color: oklch(54.4% 0.155 145.1);
Tailwind
colors: {
custom: {
50: '#6caa6b',
500: '#1f862e',
950: '#000000',
},
}SCSS
$custom: #1f862e; $custom-light: #6caa6b; $custom-dark: #000000;
JSON
{
"hex": "#1f862e",
"rgb": {
"r": 31,
"g": 134,
"b": 46
},
"hsl": {
"h": 128.738,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54415,
"c": 0.15529,
"h": 145.1
},
"luminance": 0.17539
}Semantic roles & 50–950 ramp
primary
#1F862E
secondary
#B849A8
accent
#42CEE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A