#42B95F#42B95F
#42B95F is a light, vivid green. Relative luminance 0.367; OKLCH L 69.8% C 0.167 H 148.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #42B95F |
|---|---|
| RGB | rgb(66, 185, 95) |
| HSL | hsl(135, 47%, 49%) |
| HSV | hsv(135, 64%, 73%) |
| CMYK | cmyk(64.3%, 0%, 48.6%, 27.5%) |
| CIE-LAB | lab(67.04, -52.51, 35.98) |
| CIE-LCH | lch(67.04, 63.65, 145.59°) |
| OKLab | oklab(69.81% -0.1417 0.0875) |
| OKLCH | oklch(69.81% 0.167 148.3) |
| XYZ | xyz(21.6597, 36.6802, 16.7628) |
| Luminance | 0.3668 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 1.65
Dark Mint
#48C072
ΔE00 3.13
Shamrock
#01B44C
ΔE00 3.35
Fern
#63B76C
ΔE00 3.56
Dark Pastel Green
#56AE57
ΔE00 3.70
Boring Green
#63B365
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42B95F #B9429C
analogous
#61B942 #42B95F #42B99B
triadic
#42B95F #5F42B9 #B95F42
tetradic
#42B95F #4261B9 #B9429C #B99B42
square
#42B95F #4261B9 #B9429C #B99B42
split-complementary
#42B95F #9B42B9 #B94261
monochromatic
#225F31 #328C48 #42B95F #6DCB84 #9ADBAA
Accessibility & contrast
On white
2.52
#42B95F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#42B95F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42B95F
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42B95F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42B95F | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA958
Deuteranopia (green-blind)
#AC9F65
Tritanopia (blue-blind)
#1BB5A4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #42b95f; /* rgb */ color: rgb(66, 185, 95); /* oklch */ color: oklch(69.8% 0.167 148.3);
Tailwind
colors: {
custom: {
50: '#84cf8e',
500: '#42b95f',
950: '#000000',
},
}SCSS
$custom: #42b95f; $custom-light: #84cf8e; $custom-dark: #000000;
JSON
{
"hex": "#42b95f",
"rgb": {
"r": 66,
"g": 185,
"b": 95
},
"hsl": {
"h": 134.622,
"s": 47.41,
"l": 49.216
},
"oklch": {
"l": 0.69808,
"c": 0.16655,
"h": 148.3
},
"luminance": 0.36682
}Semantic roles & 50–950 ramp
primary
#42B95F
secondary
#C790BA
accent
#51B6D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D