#42991F#42991F
#42991F is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.6% C 0.175 H 138.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #42991F |
|---|---|
| RGB | rgb(66, 153, 31) |
| HSL | hsl(103, 66%, 36%) |
| HSV | hsv(103, 80%, 60%) |
| CMYK | cmyk(56.9%, 0%, 79.7%, 40%) |
| CIE-LAB | lab(56.13, -47.56, 51.77) |
| CIE-LCH | lch(56.13, 70.30, 132.57°) |
| OKLab | oklab(60.61% -0.1312 0.1152) |
| OKLCH | oklch(60.61% 0.175 138.7) |
| XYZ | xyz(13.8848, 24.0385, 5.2043) |
| Luminance | 0.2404 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 1.52
Grassy Green
#419C03
ΔE00 2.05
True Green
#089404
ΔE00 3.86
Lawn Green
#4DA409
ΔE00 4.30
Irish Green
#019529
ΔE00 4.76
Emerald Green
#028F1E
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42991F #761F99
analogous
#7F991F #42991F #1F9939
triadic
#42991F #1F4299 #991F42
tetradic
#42991F #1F7F99 #761F99 #99391F
square
#42991F #1F7F99 #761F99 #99391F
split-complementary
#42991F #391F99 #991F7F
monochromatic
#16330A #2C6615 #42991F #58CC29 #7CDD56
Accessibility & contrast
On white
3.62
#42991F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#42991F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42991F
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42991F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42991F | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#399482
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #42991f; /* rgb */ color: rgb(66, 153, 31); /* oklch */ color: oklch(60.6% 0.175 138.7);
Tailwind
colors: {
custom: {
50: '#80b865',
500: '#42991f',
950: '#000000',
},
}SCSS
$custom: #42991f; $custom-light: #80b865; $custom-dark: #000000;
JSON
{
"hex": "#42991f",
"rgb": {
"r": 66,
"g": 153,
"b": 31
},
"hsl": {
"h": 102.787,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.60606,
"c": 0.17463,
"h": 138.7
},
"luminance": 0.2404
}Semantic roles & 50–950 ramp
primary
#42991F
secondary
#A154C0
accent
#3FE9B8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A