#42981E#42981E
#42981E is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.174 H 138.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #42981E |
|---|---|
| RGB | rgb(66, 152, 30) |
| HSL | hsl(102, 67%, 36%) |
| HSV | hsv(102, 80%, 60%) |
| CMYK | cmyk(56.6%, 0%, 80.3%, 40.4%) |
| CIE-LAB | lab(55.79, -47.24, 51.77) |
| CIE-LCH | lch(55.79, 70.09, 132.38°) |
| OKLab | oklab(60.33% -0.1304 0.1151) |
| OKLCH | oklch(60.33% 0.174 138.6) |
| XYZ | xyz(13.7088, 23.7073, 5.0816) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.64
Grassy Green
#419C03
ΔE00 2.18
True Green
#089404
ΔE00 3.72
Lawn Green
#4DA409
ΔE00 4.54
Irish Green
#019529
ΔE00 4.71
Emerald Green
#028F1E
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42981E #741E98
analogous
#7F981E #42981E #1E9837
triadic
#42981E #1E4298 #981E42
tetradic
#42981E #1E7F98 #741E98 #98371E
square
#42981E #1E7F98 #741E98 #98371E
split-complementary
#42981E #371E98 #981E7F
monochromatic
#16320A #2C6514 #42981E #58CB28 #7CDD53
Accessibility & contrast
On white
3.66
#42981E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#42981E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42981E
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42981E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42981E | 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)
#92832C
Tritanopia (blue-blind)
#3A9381
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #42981e; /* rgb */ color: rgb(66, 152, 30); /* oklch */ color: oklch(60.3% 0.174 138.6);
Tailwind
colors: {
custom: {
50: '#80b765',
500: '#42981e',
950: '#000000',
},
}SCSS
$custom: #42981e; $custom-light: #80b765; $custom-dark: #000000;
JSON
{
"hex": "#42981e",
"rgb": {
"r": 66,
"g": 152,
"b": 30
},
"hsl": {
"h": 102.295,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.6033,
"c": 0.17393,
"h": 138.6
},
"luminance": 0.23708
}Semantic roles & 50–950 ramp
primary
#42981E
secondary
#A051C0
accent
#3EEAB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A