#1F882F#1F882F
#1F882F is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.157 H 145.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F882F |
|---|---|
| RGB | rgb(31, 136, 47) |
| HSL | hsl(129, 63%, 33%) |
| HSV | hsv(129, 77%, 53%) |
| CMYK | cmyk(77.2%, 0%, 65.4%, 46.7%) |
| CIE-LAB | lab(49.62, -47.74, 38.49) |
| CIE-LCH | lch(49.62, 61.33, 141.13°) |
| OKLab | oklab(54.99% -0.1288 0.0897) |
| OKLCH | oklch(54.99% 0.157 145.2) |
| XYZ | xyz(9.8816, 18.1037, 5.6624) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.38
Emerald Green
#028F1E
ΔE00 3.47
Kelley Green
#009337
ΔE00 3.92
Tree Green
#2A7E19
ΔE00 4.40
Irish Green
#019529
ΔE00 4.77
Darkish Green
#287C37
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F882F #881F78
analogous
#43881F #1F882F #1F8863
triadic
#1F882F #2F1F88 #882F1F
tetradic
#1F882F #1F4388 #881F78 #88631F
square
#1F882F #1F4388 #881F78 #88631F
split-complementary
#1F882F #631F88 #881F43
monochromatic
#08240D #14561E #1F882F #2ABA40 #4BD660
Accessibility & contrast
On white
4.54
#1F882F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#1F882F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F882F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F882F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F882F | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f882f; /* rgb */ color: rgb(31, 136, 47); /* oklch */ color: oklch(55.0% 0.157 145.2);
Tailwind
colors: {
custom: {
50: '#6dac6b',
500: '#1f882f',
950: '#000000',
},
}SCSS
$custom: #1f882f; $custom-light: #6dac6b; $custom-dark: #000000;
JSON
{
"hex": "#1f882f",
"rgb": {
"r": 31,
"g": 136,
"b": 47
},
"hsl": {
"h": 129.143,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.54992,
"c": 0.157,
"h": 145.2
},
"luminance": 0.18105
}Semantic roles & 50–950 ramp
primary
#1F882F
secondary
#B94AA8
accent
#42CDE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A