#42D487#42D487

#42D487 is a light, vivid green. Relative luminance 0.500; OKLCH L 77.4% C 0.166 H 155.7°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#42D487
RGBrgb(66, 212, 135)
HSLhsl(148, 63%, 55%)
HSVhsv(148, 69%, 83%)
CMYKcmyk(68.9%, 0%, 36.3%, 16.9%)
CIE-LABlab(76.06, -55.79, 27.19)
CIE-LCHlch(76.06, 62.06, 154.01°)
OKLaboklab(77.45% -0.1509 0.0682)
OKLCHoklch(77.45% 0.166 155.7)
XYZxyz(30.1606, 49.9911, 30.9767)
Luminance0.4999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D487 #D4428F
analogous
#46D442 #42D487 #42D4D0
triadic
#42D487 #8742D4 #D48742
tetradic
#42D487 #4246D4 #D4428F #D4D042
square
#42D487 #4246D4 #D4428F #D4D042
split-complementary
#42D487 #D042D4 #D44246
monochromatic
#1D7F4B #28B169 #42D487 #74DFA7 #A6EBC6

Accessibility & contrast

On white

1.91
#42D487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#42D487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D487
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D487#FFFFFF#000000##000000
##42D4871.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C382
Deuteranopia (green-blind)
#C1B68C
Tritanopia (blue-blind)
#00D2C0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #42d487;
/* rgb */ color: rgb(66, 212, 135);
/* oklch */ color: oklch(77.4% 0.166 155.7);
Tailwind
colors: {
  custom: {
    50: '#88e2aa',
    500: '#42d487',
    950: '#000000',
  },
}
SCSS
$custom: #42d487;
$custom-light: #88e2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d487",
  "rgb": {
    "r": 66,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 148.356,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77449,
    "c": 0.16562,
    "h": 155.7
  },
  "luminance": 0.49994
}

Semantic roles & 50–950 ramp

primary
#42D487
secondary
#D89ABB
accent
#4298E6
background
#F9FEFA
surface
#F1FCF4
border
#CBD5CE
text
#0D1510
muted
#7E847F

Preview Lab

Preview with #42D487

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

Preview Lab → · Contrast checker → · Palette generator →

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