#1F982C#1F982C
#1F982C is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.4% C 0.178 H 144.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F982C |
|---|---|
| RGB | rgb(31, 152, 44) |
| HSL | hsl(126, 66%, 36%) |
| HSV | hsv(126, 80%, 60%) |
| CMYK | cmyk(79.6%, 0%, 71.1%, 40.4%) |
| CIE-LAB | lab(55.00, -53.48, 45.62) |
| CIE-LCH | lch(55.00, 70.30, 139.54°) |
| OKLab | oklab(59.45% -0.1446 0.1044) |
| OKLCH | oklch(59.45% 0.178 144.2) |
| XYZ | xyz(12.2471, 22.9282, 6.1625) |
| Luminance | 0.2293 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.44
Kelley Green
#009337
ΔE00 3.09
True Green
#089404
ΔE00 3.19
Emerald Green
#028F1E
ΔE00 3.38
Forestgreen (CSS)
#228B22
ΔE00 4.47
Grass Green
#3F9B0B
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F982C #981F8B
analogous
#4E981F #1F982C #1F9868
triadic
#1F982C #2C1F98 #982C1F
tetradic
#1F982C #1F4E98 #981F8B #98681F
square
#1F982C #1F4E98 #981F8B #98681F
split-complementary
#1F982C #681F98 #981F4E
monochromatic
#0A320F #15651D #1F982C #29CB3B #55DC64
Accessibility & contrast
On white
3.76
#1F982C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#1F982C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F982C
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F982C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F982C | 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)
#9B891C
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#009482
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #1f982c; /* rgb */ color: rgb(31, 152, 44); /* oklch */ color: oklch(59.4% 0.178 144.2);
Tailwind
colors: {
custom: {
50: '#71b76b',
500: '#1f982c',
950: '#000000',
},
}SCSS
$custom: #1f982c; $custom-light: #71b76b; $custom-dark: #000000;
JSON
{
"hex": "#1f982c",
"rgb": {
"r": 31,
"g": 152,
"b": 44
},
"hsl": {
"h": 126.446,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.59448,
"c": 0.17834,
"h": 144.2
},
"luminance": 0.2293
}Semantic roles & 50–950 ramp
primary
#1F982C
secondary
#C053B4
accent
#3FD7E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A