#1F882E#1F882E
#1F882E is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.158 H 145.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F882E |
|---|---|
| RGB | rgb(31, 136, 46) |
| HSL | hsl(129, 63%, 33%) |
| HSV | hsv(129, 77%, 53%) |
| CMYK | cmyk(77.2%, 0%, 66.2%, 46.7%) |
| CIE-LAB | lab(49.61, -47.86, 38.94) |
| CIE-LCH | lch(49.61, 61.70, 140.87°) |
| OKLab | oklab(54.98% -0.1292 0.0906) |
| OKLCH | oklch(54.98% 0.158 145) |
| XYZ | xyz(9.8617, 18.0957, 5.5573) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.25
Emerald Green
#028F1E
ΔE00 3.37
Kelley Green
#009337
ΔE00 3.94
Tree Green
#2A7E19
ΔE00 4.31
Irish Green
#019529
ΔE00 4.72
Green
#008000
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F882E #881F79
analogous
#45881F #1F882E #1F8862
triadic
#1F882E #2E1F88 #882E1F
tetradic
#1F882E #1F4588 #881F79 #88621F
square
#1F882E #1F4588 #881F79 #88621F
split-complementary
#1F882E #621F88 #881F45
monochromatic
#08240C #14561D #1F882E #2ABA3F #4BD65F
Accessibility & contrast
On white
4.55
#1F882E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#1F882E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F882E
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F882E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F882E | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 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)
#8A7B23
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f882e; /* rgb */ color: rgb(31, 136, 46); /* oklch */ color: oklch(55.0% 0.158 145.0);
Tailwind
colors: {
custom: {
50: '#6dac6b',
500: '#1f882e',
950: '#000000',
},
}SCSS
$custom: #1f882e; $custom-light: #6dac6b; $custom-dark: #000000;
JSON
{
"hex": "#1f882e",
"rgb": {
"r": 31,
"g": 136,
"b": 46
},
"hsl": {
"h": 128.571,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.54981,
"c": 0.15778,
"h": 145
},
"luminance": 0.18097
}Semantic roles & 50–950 ramp
primary
#1F882E
secondary
#B94AA9
accent
#42CEE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A