#1F982E#1F982E
#1F982E is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.177 H 144.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F982E |
|---|---|
| RGB | rgb(31, 152, 46) |
| HSL | hsl(127, 66%, 36%) |
| HSV | hsv(127, 80%, 60%) |
| CMYK | cmyk(79.6%, 0%, 69.7%, 40.4%) |
| CIE-LAB | lab(55.01, -53.29, 44.82) |
| CIE-LCH | lch(55.01, 69.63, 139.94°) |
| OKLab | oklab(59.47% -0.144 0.103) |
| OKLCH | oklch(59.47% 0.177 144.4) |
| XYZ | xyz(12.2856, 22.9436, 6.3653) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.43
Kelley Green
#009337
ΔE00 2.90
True Green
#089404
ΔE00 3.42
Emerald Green
#028F1E
ΔE00 3.44
Emerald (survey)
#01A049
ΔE00 4.50
Forestgreen (CSS)
#228B22
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F982E #981F89
analogous
#4C981F #1F982E #1F986A
triadic
#1F982E #2E1F98 #982E1F
tetradic
#1F982E #1F4C98 #981F89 #986A1F
square
#1F982E #1F4C98 #981F89 #986A1F
split-complementary
#1F982E #6A1F98 #981F4C
monochromatic
#0A320F #15651F #1F982E #29CB3D #55DC66
Accessibility & contrast
On white
3.76
#1F982E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#1F982E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F982E
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F982E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F982E | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891F
Deuteranopia (green-blind)
#8E8038
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #1f982e; /* rgb */ color: rgb(31, 152, 46); /* oklch */ color: oklch(59.5% 0.177 144.4);
Tailwind
colors: {
custom: {
50: '#71b76c',
500: '#1f982e',
950: '#000000',
},
}SCSS
$custom: #1f982e; $custom-light: #71b76c; $custom-dark: #000000;
JSON
{
"hex": "#1f982e",
"rgb": {
"r": 31,
"g": 152,
"b": 46
},
"hsl": {
"h": 127.438,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.59467,
"c": 0.177,
"h": 144.4
},
"luminance": 0.22945
}Semantic roles & 50–950 ramp
primary
#1F982E
secondary
#C053B2
accent
#3FD4E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A