#42981B#42981B
#42981B 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 | #42981B |
|---|---|
| RGB | rgb(66, 152, 27) |
| HSL | hsl(101, 70%, 35%) |
| HSV | hsv(101, 82%, 60%) |
| CMYK | cmyk(56.6%, 0%, 82.2%, 40.4%) |
| CIE-LAB | lab(55.78, -47.41, 52.67) |
| CIE-LCH | lch(55.78, 70.86, 131.99°) |
| OKLab | oklab(60.31% -0.1311 0.1165) |
| OKLCH | oklch(60.31% 0.175 138.4) |
| XYZ | xyz(13.6723, 23.6927, 4.8894) |
| Luminance | 0.2369 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.43
Grassy Green
#419C03
ΔE00 1.96
True Green
#089404
ΔE00 3.73
Lawn Green
#4DA409
ΔE00 4.41
Irish Green
#019529
ΔE00 4.88
Emerald Green
#028F1E
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42981B #711B98
analogous
#80981B #42981B #1B9833
triadic
#42981B #1B4298 #981B42
tetradic
#42981B #1B8098 #711B98 #98331B
square
#42981B #1B8098 #711B98 #98331B
split-complementary
#42981B #331B98 #981B80
monochromatic
#153009 #2B6412 #42981B #59CC24 #7BE04E
Accessibility & contrast
On white
3.66
#42981B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#42981B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42981B
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42981B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42981B | 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)
#92832A
Tritanopia (blue-blind)
#3A9381
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #42981b; /* rgb */ color: rgb(66, 152, 27); /* oklch */ color: oklch(60.3% 0.175 138.4);
Tailwind
colors: {
custom: {
50: '#80b763',
500: '#42981b',
950: '#000000',
},
}SCSS
$custom: #42981b; $custom-light: #80b763; $custom-dark: #000000;
JSON
{
"hex": "#42981b",
"rgb": {
"r": 66,
"g": 152,
"b": 27
},
"hsl": {
"h": 101.28,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.60313,
"c": 0.17534,
"h": 138.4
},
"luminance": 0.23694
}Semantic roles & 50–950 ramp
primary
#42981B
secondary
#9D4DC2
accent
#3BEDB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A