#42981C#42981C
#42981C is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.175 H 138.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #42981C |
|---|---|
| RGB | rgb(66, 152, 28) |
| HSL | hsl(102, 69%, 35%) |
| HSV | hsv(102, 82%, 60%) |
| CMYK | cmyk(56.6%, 0%, 81.6%, 40.4%) |
| CIE-LAB | lab(55.78, -47.35, 52.38) |
| CIE-LCH | lch(55.78, 70.61, 132.12°) |
| OKLab | oklab(60.32% -0.1309 0.116) |
| OKLCH | oklch(60.32% 0.175 138.4) |
| XYZ | xyz(13.6841, 23.6974, 4.9513) |
| Luminance | 0.2370 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.50
Grassy Green
#419C03
ΔE00 2.03
True Green
#089404
ΔE00 3.72
Lawn Green
#4DA409
ΔE00 4.45
Irish Green
#019529
ΔE00 4.82
Emerald Green
#028F1E
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42981C #721C98
analogous
#80981C #42981C #1C9834
triadic
#42981C #1C4298 #981C42
tetradic
#42981C #1C8098 #721C98 #98341C
square
#42981C #1C8098 #721C98 #98341C
split-complementary
#42981C #341C98 #981C80
monochromatic
#153109 #2C6412 #42981C #58CC26 #7CDF50
Accessibility & contrast
On white
3.66
#42981C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#42981C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42981C
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42981C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42981C | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#3A9381
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #42981c; /* rgb */ color: rgb(66, 152, 28); /* oklch */ color: oklch(60.3% 0.175 138.4);
Tailwind
colors: {
custom: {
50: '#80b764',
500: '#42981c',
950: '#000000',
},
}SCSS
$custom: #42981c; $custom-light: #80b764; $custom-dark: #000000;
JSON
{
"hex": "#42981c",
"rgb": {
"r": 66,
"g": 152,
"b": 28
},
"hsl": {
"h": 101.613,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.60318,
"c": 0.17489,
"h": 138.4
},
"luminance": 0.23699
}Semantic roles & 50–950 ramp
primary
#42981C
secondary
#9E4EC1
accent
#3CECB6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A