#42C259#42C259
#42C259 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.1% C 0.184 H 146.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #42C259 |
|---|---|
| RGB | rgb(66, 194, 89) |
| HSL | hsl(131, 51%, 51%) |
| HSV | hsv(131, 66%, 76%) |
| CMYK | cmyk(66%, 0%, 54.1%, 23.9%) |
| CIE-LAB | lab(69.80, -56.71, 42.32) |
| CIE-LCH | lch(69.80, 70.76, 143.26°) |
| OKLab | oklab(72.06% -0.1531 0.1013) |
| OKLCH | oklch(72.06% 0.184 146.5) |
| XYZ | xyz(23.3401, 40.4607, 16.0289) |
| Luminance | 0.4046 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.34
Cool Green
#33B864
ΔE00 4.26
Dark Mint
#48C072
ΔE00 4.35
Algae Green
#21C36F
ΔE00 4.36
Emerald
#50C878
ΔE00 4.60
Shamrock
#01B44C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C259 #C242AB
analogous
#6BC242 #42C259 #42C299
triadic
#42C259 #5942C2 #C25942
tetradic
#42C259 #426BC2 #C242AB #C29942
square
#42C259 #426BC2 #C242AB #C29942
split-complementary
#42C259 #9942C2 #C2426B
monochromatic
#22682E #319643 #42C259 #70D182 #9FE0AA
Accessibility & contrast
On white
2.31
#42C259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#42C259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C259
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C259 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B14F
Deuteranopia (green-blind)
#B5A661
Tritanopia (blue-blind)
#18BEAA
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #42c259; /* rgb */ color: rgb(66, 194, 89); /* oklch */ color: oklch(72.1% 0.184 146.5);
Tailwind
colors: {
custom: {
50: '#85d58a',
500: '#42c259',
950: '#000000',
},
}SCSS
$custom: #42c259; $custom-light: #85d58a; $custom-dark: #000000;
JSON
{
"hex": "#42c259",
"rgb": {
"r": 66,
"g": 194,
"b": 89
},
"hsl": {
"h": 130.781,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.72061,
"c": 0.1836,
"h": 146.5
},
"luminance": 0.40463
}Semantic roles & 50–950 ramp
primary
#42C259
secondary
#CC94C2
accent
#4DC1DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D