#42DB5C#42DB5C

#42DB5C is a light, highly saturated green. Relative luminance 0.526; OKLCH L 78.6% C 0.212 H 145.9°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#42DB5C
RGBrgb(66, 219, 92)
HSLhsl(130, 68%, 56%)
HSVhsv(130, 70%, 86%)
CMYKcmyk(69.9%, 0%, 58%, 14.1%)
CIE-LABlab(77.63, -65.03, 50.23)
CIE-LCHlch(77.63, 82.17, 142.32°)
OKLaboklab(78.55% -0.1755 0.1188)
OKLCHoklch(78.55% 0.212 145.9)
XYZxyz(29.5080, 52.5907, 18.7191)
Luminance0.5259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DB5C #DB42C1
analogous
#74DB42 #42DB5C #42DBA8
triadic
#42DB5C #5C42DB #DB5C42
tetradic
#42DB5C #4274DB #DB42C1 #DBA842
square
#42DB5C #4274DB #DB42C1 #DBA842
split-complementary
#42DB5C #A842DB #DB4274
monochromatic
#1A892D #24BC3E #42DB5C #75E588 #A9EFB5

Accessibility & contrast

On white

1.82
#42DB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#42DB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DB5C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DB5C#FFFFFF#000000##000000
##42DB5C1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#00D6BF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #42db5c;
/* rgb */ color: rgb(66, 219, 92);
/* oklch */ color: oklch(78.6% 0.212 145.9);
Tailwind
colors: {
  custom: {
    50: '#8ae78e',
    500: '#42db5c',
    950: '#000000',
  },
}
SCSS
$custom: #42db5c;
$custom-light: #8ae78e;
$custom-dark: #000000;
JSON
{
  "hex": "#42db5c",
  "rgb": {
    "r": 66,
    "g": 219,
    "b": 92
  },
  "hsl": {
    "h": 130.196,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78552,
    "c": 0.21192,
    "h": 145.9
  },
  "luminance": 0.52594
}

Semantic roles & 50–950 ramp

primary
#42DB5C
secondary
#8F337F
accent
#3DCDEB
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #42DB5C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#42DB5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva