#1F882B#1F882B
#1F882B is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.160 H 144.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F882B |
|---|---|
| RGB | rgb(31, 136, 43) |
| HSL | hsl(127, 63%, 33%) |
| HSV | hsv(127, 77%, 53%) |
| CMYK | cmyk(77.2%, 0%, 68.4%, 46.7%) |
| CIE-LAB | lab(49.58, -48.20, 40.25) |
| CIE-LCH | lch(49.58, 62.79, 140.13°) |
| OKLab | oklab(54.95% -0.1302 0.093) |
| OKLCH | oklch(54.95% 0.16 144.5) |
| XYZ | xyz(9.8046, 18.0729, 5.2567) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.86
Emerald Green
#028F1E
ΔE00 3.09
Kelley Green
#009337
ΔE00 4.05
Tree Green
#2A7E19
ΔE00 4.08
Green
#008000
ΔE00 4.49
Irish Green
#019529
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F882B #881F7C
analogous
#48881F #1F882B #1F885F
triadic
#1F882B #2B1F88 #882B1F
tetradic
#1F882B #1F4888 #881F7C #885F1F
square
#1F882B #1F4888 #881F7C #885F1F
split-complementary
#1F882B #5F1F88 #881F48
monochromatic
#08240B #14561B #1F882B #2ABA3B #4BD65B
Accessibility & contrast
On white
4.55
#1F882B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#1F882B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F882B
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F882B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F882B | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f882b; /* rgb */ color: rgb(31, 136, 43); /* oklch */ color: oklch(54.9% 0.160 144.5);
Tailwind
colors: {
custom: {
50: '#6dac69',
500: '#1f882b',
950: '#000000',
},
}SCSS
$custom: #1f882b; $custom-light: #6dac69; $custom-dark: #000000;
JSON
{
"hex": "#1f882b",
"rgb": {
"r": 31,
"g": 136,
"b": 43
},
"hsl": {
"h": 126.857,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.54949,
"c": 0.16004,
"h": 144.5
},
"luminance": 0.18074
}Semantic roles & 50–950 ramp
primary
#1F882B
secondary
#B94AAC
accent
#42D3E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A