#1F862C#1F862C
#1F862C is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.157 H 144.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F862C |
|---|---|
| RGB | rgb(31, 134, 44) |
| HSL | hsl(128, 62%, 32%) |
| HSV | hsv(128, 77%, 53%) |
| CMYK | cmyk(76.9%, 0%, 67.2%, 47.5%) |
| CIE-LAB | lab(48.91, -47.39, 39.07) |
| CIE-LCH | lch(48.91, 61.42, 140.50°) |
| OKLab | oklab(54.39% -0.128 0.0906) |
| OKLCH | oklch(54.39% 0.157 144.7) |
| XYZ | xyz(9.5441, 17.5222, 5.2615) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.57
Tree Green
#2A7E19
ΔE00 3.68
Emerald Green
#028F1E
ΔE00 3.83
Green
#008000
ΔE00 4.31
Darkish Green
#287C37
ΔE00 4.51
Kelley Green
#009337
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F862C #861F79
analogous
#45861F #1F862C #1F8660
triadic
#1F862C #2C1F86 #862C1F
tetradic
#1F862C #1F4586 #861F79 #86601F
square
#1F862C #1F4586 #861F79 #86601F
split-complementary
#1F862C #601F86 #861F45
monochromatic
#08230B #14541C #1F862C #2AB83C #4AD55C
Accessibility & contrast
On white
4.66
#1F862C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#1F862C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #1F862C
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F862C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F862C | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1f862c; /* rgb */ color: rgb(31, 134, 44); /* oklch */ color: oklch(54.4% 0.157 144.7);
Tailwind
colors: {
custom: {
50: '#6daa69',
500: '#1f862c',
950: '#000000',
},
}SCSS
$custom: #1f862c; $custom-light: #6daa69; $custom-dark: #000000;
JSON
{
"hex": "#1f862c",
"rgb": {
"r": 31,
"g": 134,
"b": 44
},
"hsl": {
"h": 127.573,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54393,
"c": 0.15684,
"h": 144.7
},
"luminance": 0.17523
}Semantic roles & 50–950 ramp
primary
#1F862C
secondary
#B849AA
accent
#42D1E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A