#42981F#42981F
#42981F is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.3% C 0.173 H 138.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #42981F |
|---|---|
| RGB | rgb(66, 152, 31) |
| HSL | hsl(103, 66%, 36%) |
| HSV | hsv(103, 80%, 60%) |
| CMYK | cmyk(56.6%, 0%, 79.6%, 40.4%) |
| CIE-LAB | lab(55.80, -47.18, 51.46) |
| CIE-LCH | lch(55.80, 69.82, 132.51°) |
| OKLab | oklab(60.34% -0.1302 0.1145) |
| OKLCH | oklch(60.34% 0.173 138.7) |
| XYZ | xyz(13.7218, 23.7125, 5.1499) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.72
Grassy Green
#419C03
ΔE00 2.26
True Green
#089404
ΔE00 3.72
Lawn Green
#4DA409
ΔE00 4.59
Irish Green
#019529
ΔE00 4.65
Emerald Green
#028F1E
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42981F #751F98
analogous
#7E981F #42981F #1F9839
triadic
#42981F #1F4298 #981F42
tetradic
#42981F #1F7E98 #751F98 #98391F
square
#42981F #1F7E98 #751F98 #98391F
split-complementary
#42981F #391F98 #981F7E
monochromatic
#16320A #2C6515 #42981F #58CB29 #7CDC55
Accessibility & contrast
On white
3.66
#42981F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#42981F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42981F
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42981F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42981F | 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)
#92832D
Tritanopia (blue-blind)
#3A9382
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #42981f; /* rgb */ color: rgb(66, 152, 31); /* oklch */ color: oklch(60.3% 0.173 138.7);
Tailwind
colors: {
custom: {
50: '#80b765',
500: '#42981f',
950: '#000000',
},
}SCSS
$custom: #42981f; $custom-light: #80b765; $custom-dark: #000000;
JSON
{
"hex": "#42981f",
"rgb": {
"r": 66,
"g": 152,
"b": 31
},
"hsl": {
"h": 102.645,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.60336,
"c": 0.17343,
"h": 138.7
},
"luminance": 0.23714
}Semantic roles & 50–950 ramp
primary
#42981F
secondary
#A053C0
accent
#3FE9B8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A