#1F862F#1F862F
#1F862F is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.155 H 145.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F862F |
|---|---|
| RGB | rgb(31, 134, 47) |
| HSL | hsl(129, 62%, 32%) |
| HSV | hsv(129, 77%, 53%) |
| CMYK | cmyk(76.9%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(48.94, -47.04, 37.73) |
| CIE-LCH | lch(48.94, 60.30, 141.27°) |
| OKLab | oklab(54.43% -0.1269 0.0881) |
| OKLCH | oklch(54.43% 0.155 145.2) |
| XYZ | xyz(9.6026, 17.5456, 5.5693) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.92
Tree Green
#2A7E19
ΔE00 3.99
Emerald Green
#028F1E
ΔE00 4.10
Darkish Green
#287C37
ΔE00 4.24
Kelley Green
#009337
ΔE00 4.59
Green
#008000
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F862F #861F76
analogous
#43861F #1F862F #1F8662
triadic
#1F862F #2F1F86 #862F1F
tetradic
#1F862F #1F4386 #861F76 #86621F
square
#1F862F #1F4386 #861F76 #86621F
split-complementary
#1F862F #621F86 #861F43
monochromatic
#08230C #14541E #1F862F #2AB840 #4AD560
Accessibility & contrast
On white
4.66
#1F862F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#1F862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1F862F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F862F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F862F | 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)
#887925
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f862f; /* rgb */ color: rgb(31, 134, 47); /* oklch */ color: oklch(54.4% 0.155 145.2);
Tailwind
colors: {
custom: {
50: '#6caa6b',
500: '#1f862f',
950: '#000000',
},
}SCSS
$custom: #1f862f; $custom-light: #6caa6b; $custom-dark: #000000;
JSON
{
"hex": "#1f862f",
"rgb": {
"r": 31,
"g": 134,
"b": 47
},
"hsl": {
"h": 129.32,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54426,
"c": 0.15451,
"h": 145.2
},
"luminance": 0.17547
}Semantic roles & 50–950 ramp
primary
#1F862F
secondary
#B849A7
accent
#42CCE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A