#1F882C#1F882C
#1F882C is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.159 H 144.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F882C |
|---|---|
| RGB | rgb(31, 136, 44) |
| HSL | hsl(127, 63%, 33%) |
| HSV | hsv(127, 77%, 53%) |
| CMYK | cmyk(77.2%, 0%, 67.6%, 46.7%) |
| CIE-LAB | lab(49.59, -48.09, 39.82) |
| CIE-LCH | lch(49.59, 62.43, 140.37°) |
| OKLab | oklab(54.96% -0.1299 0.0922) |
| OKLCH | oklch(54.96% 0.159 144.6) |
| XYZ | xyz(9.8232, 18.0803, 5.3545) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.99
Emerald Green
#028F1E
ΔE00 3.17
Kelley Green
#009337
ΔE00 4.01
Tree Green
#2A7E19
ΔE00 4.15
Green
#008000
ΔE00 4.60
Irish Green
#019529
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F882C #881F7B
analogous
#46881F #1F882C #1F8861
triadic
#1F882C #2C1F88 #882C1F
tetradic
#1F882C #1F4688 #881F7B #88611F
square
#1F882C #1F4688 #881F7B #88611F
split-complementary
#1F882C #611F88 #881F46
monochromatic
#08240C #14561C #1F882C #2ABA3C #4BD65D
Accessibility & contrast
On white
4.55
#1F882C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#1F882C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F882C
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F882C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F882C | 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)
#8A7B20
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f882c; /* rgb */ color: rgb(31, 136, 44); /* oklch */ color: oklch(55.0% 0.159 144.6);
Tailwind
colors: {
custom: {
50: '#6dac6a',
500: '#1f882c',
950: '#000000',
},
}SCSS
$custom: #1f882c; $custom-light: #6dac6a; $custom-dark: #000000;
JSON
{
"hex": "#1f882c",
"rgb": {
"r": 31,
"g": 136,
"b": 44
},
"hsl": {
"h": 127.429,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.54959,
"c": 0.1593,
"h": 144.6
},
"luminance": 0.18081
}Semantic roles & 50–950 ramp
primary
#1F882C
secondary
#B94AAB
accent
#42D2E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A