#1F882A#1F882A
#1F882A is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.161 H 144.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F882A |
|---|---|
| RGB | rgb(31, 136, 42) |
| HSL | hsl(126, 63%, 33%) |
| HSV | hsv(126, 77%, 53%) |
| CMYK | cmyk(77.2%, 0%, 69.1%, 46.7%) |
| CIE-LAB | lab(49.58, -48.30, 40.68) |
| CIE-LCH | lch(49.58, 63.15, 139.90°) |
| OKLab | oklab(54.94% -0.1306 0.0938) |
| OKLCH | oklch(54.94% 0.161 144.3) |
| XYZ | xyz(9.7865, 18.0657, 5.1613) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.75
Emerald Green
#028F1E
ΔE00 3.00
Tree Green
#2A7E19
ΔE00 4.01
Kelley Green
#009337
ΔE00 4.10
Green
#008000
ΔE00 4.39
Irish Green
#019529
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F882A #881F7D
analogous
#48881F #1F882A #1F885F
triadic
#1F882A #2A1F88 #882A1F
tetradic
#1F882A #1F4888 #881F7D #885F1F
square
#1F882A #1F4888 #881F7D #885F1F
split-complementary
#1F882A #5F1F88 #881F48
monochromatic
#08240B #14561B #1F882A #2ABA39 #4BD65A
Accessibility & contrast
On white
4.55
#1F882A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#1F882A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F882A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F882A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F882A | 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)
#8B7B1D
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f882a; /* rgb */ color: rgb(31, 136, 42); /* oklch */ color: oklch(54.9% 0.161 144.3);
Tailwind
colors: {
custom: {
50: '#6dac68',
500: '#1f882a',
950: '#000000',
},
}SCSS
$custom: #1f882a; $custom-light: #6dac68; $custom-dark: #000000;
JSON
{
"hex": "#1f882a",
"rgb": {
"r": 31,
"g": 136,
"b": 42
},
"hsl": {
"h": 126.286,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.54939,
"c": 0.16077,
"h": 144.3
},
"luminance": 0.18067
}Semantic roles & 50–950 ramp
primary
#1F882A
secondary
#B94AAD
accent
#42D5E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A