#42D287#42D287

#42D287 is a light, vivid green. Relative luminance 0.490; OKLCH L 76.9% C 0.163 H 156.0°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#42D287
RGBrgb(66, 210, 135)
HSLhsl(149, 62%, 54%)
HSVhsv(149, 69%, 82%)
CMYKcmyk(68.6%, 0%, 35.7%, 17.6%)
CIE-LABlab(75.45, -55.02, 26.37)
CIE-LCHlch(75.45, 61.02, 154.40°)
OKLaboklab(76.94% -0.149 0.0662)
OKLCHoklch(76.94% 0.163 156)
XYZxyz(29.6638, 48.9974, 30.8111)
Luminance0.4900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D287 #D2428D
analogous
#45D242 #42D287 #42D2CF
triadic
#42D287 #8742D2 #D28742
tetradic
#42D287 #4245D2 #D2428D #D2CF42
square
#42D287 #4245D2 #D2428D #D2CF42
split-complementary
#42D287 #CF42D2 #D24245
monochromatic
#1E7C4B #29AD69 #42D287 #73DEA6 #A5EAC6

Accessibility & contrast

On white

1.94
#42D287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#42D287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D287
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D287#FFFFFF#000000##000000
##42D2871.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C282
Deuteranopia (green-blind)
#BFB58C
Tritanopia (blue-blind)
#00D0BF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #42d287;
/* rgb */ color: rgb(66, 210, 135);
/* oklch */ color: oklch(76.9% 0.163 156.0);
Tailwind
colors: {
  custom: {
    50: '#88e1aa',
    500: '#42d287',
    950: '#000000',
  },
}
SCSS
$custom: #42d287;
$custom-light: #88e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d287",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 135
  },
  "hsl": {
    "h": 148.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76944,
    "c": 0.16302,
    "h": 156
  },
  "luminance": 0.49001
}

Semantic roles & 50–950 ramp

primary
#42D287
secondary
#D799B9
accent
#4397E5
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D1510
muted
#7E837F

Preview Lab

Preview with #42D287

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

Preview Lab → · Contrast checker → · Palette generator →

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