#42B45F#42B45F
#42B45F is a light, vivid green. Relative luminance 0.346; OKLCH L 68.5% C 0.160 H 148.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #42B45F |
|---|---|
| RGB | rgb(66, 180, 95) |
| HSL | hsl(135, 46%, 48%) |
| HSV | hsv(135, 63%, 71%) |
| CMYK | cmyk(63.3%, 0%, 47.2%, 29.4%) |
| CIE-LAB | lab(65.46, -50.61, 33.98) |
| CIE-LCH | lch(65.46, 60.96, 146.12°) |
| OKLab | oklab(68.51% -0.1366 0.083) |
| OKLCH | oklch(68.51% 0.16 148.7) |
| XYZ | xyz(20.6321, 34.6249, 16.4202) |
| Luminance | 0.3463 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 1.64
Dark Pastel Green
#56AE57
ΔE00 2.92
Boring Green
#63B365
ΔE00 3.32
Shamrock
#01B44C
ΔE00 3.35
Fern
#63B76C
ΔE00 3.44
Medium Green
#39AD48
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42B45F #B44297
analogous
#5EB442 #42B45F #42B498
triadic
#42B45F #5F42B4 #B45F42
tetradic
#42B45F #425EB4 #B44297 #B49842
square
#42B45F #425EB4 #B44297 #B49842
split-complementary
#42B45F #9842B4 #B4425E
monochromatic
#215A30 #328747 #42B45F #6BC983 #97D9A8
Accessibility & contrast
On white
2.65
#42B45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#42B45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42B45F
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42B45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42B45F | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A558
Deuteranopia (green-blind)
#A79B65
Tritanopia (blue-blind)
#1EB1A0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #42b45f; /* rgb */ color: rgb(66, 180, 95); /* oklch */ color: oklch(68.5% 0.160 148.7);
Tailwind
colors: {
custom: {
50: '#83cb8e',
500: '#42b45f',
950: '#000000',
},
}SCSS
$custom: #42b45f; $custom-light: #83cb8e; $custom-dark: #000000;
JSON
{
"hex": "#42b45f",
"rgb": {
"r": 66,
"g": 180,
"b": 95
},
"hsl": {
"h": 135.263,
"s": 46.341,
"l": 48.235
},
"oklch": {
"l": 0.68506,
"c": 0.15984,
"h": 148.7
},
"luminance": 0.34627
}Semantic roles & 50–950 ramp
primary
#42B45F
secondary
#C58DB7
accent
#52B4D6
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C130C
muted
#7D827D