#42A11F#42A11F
#42A11F is a light, vivid green. Relative luminance 0.267; OKLCH L 62.8% C 0.184 H 139.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #42A11F |
|---|---|
| RGB | rgb(66, 161, 31) |
| HSL | hsl(104, 68%, 38%) |
| HSV | hsv(104, 81%, 63%) |
| CMYK | cmyk(59%, 0%, 80.7%, 36.9%) |
| CIE-LAB | lab(58.74, -50.52, 54.24) |
| CIE-LCH | lch(58.74, 74.12, 132.97°) |
| OKLab | oklab(62.76% -0.1392 0.1204) |
| OKLCH | oklch(62.76% 0.184 139.2) |
| XYZ | xyz(15.2383, 26.7456, 5.6555) |
| Luminance | 0.2675 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grassy Green
#419C03
ΔE00 2.16
Grass Green
#3F9B0B
ΔE00 2.17
Lawn Green
#4DA409
ΔE00 2.42
Grass
#5CAC2D
ΔE00 4.24
Kelly Green (survey)
#02AB2E
ΔE00 4.55
Mid Green
#50A747
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42A11F #7E1FA1
analogous
#83A11F #42A11F #1FA13D
triadic
#42A11F #1F42A1 #A11F42
tetradic
#42A11F #1F83A1 #7E1FA1 #A13D1F
square
#42A11F #1F83A1 #7E1FA1 #A13D1F
split-complementary
#42A11F #3D1FA1 #A11F83
monochromatic
#183A0B #2D6E15 #42A11F #57D429 #7FDF5B
Accessibility & contrast
On white
3.31
#42A11F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#42A11F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #42A11F
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42A11F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42A11F | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #42a11f; /* rgb */ color: rgb(66, 161, 31); /* oklch */ color: oklch(62.8% 0.184 139.2);
Tailwind
colors: {
custom: {
50: '#82be66',
500: '#42a11f',
950: '#000000',
},
}SCSS
$custom: #42a11f; $custom-light: #82be66; $custom-dark: #000000;
JSON
{
"hex": "#42a11f",
"rgb": {
"r": 66,
"g": 161,
"b": 31
},
"hsl": {
"h": 103.846,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.62763,
"c": 0.18402,
"h": 139.2
},
"luminance": 0.26747
}Semantic roles & 50–950 ramp
primary
#42A11F
secondary
#A758C4
accent
#3DEBBC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A