#42D387#42D387

#42D387 is a light, vivid green. Relative luminance 0.495; OKLCH L 77.2% C 0.164 H 155.9°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#42D387
RGBrgb(66, 211, 135)
HSLhsl(149, 62%, 54%)
HSVhsv(149, 69%, 83%)
CMYKcmyk(68.7%, 0%, 36%, 17.3%)
CIE-LABlab(75.76, -55.41, 26.78)
CIE-LCHlch(75.76, 61.54, 154.20°)
OKLaboklab(77.2% -0.1499 0.0672)
OKLCHoklch(77.2% 0.164 155.9)
XYZxyz(29.9114, 49.4927, 30.8936)
Luminance0.4950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D387 #D3428E
analogous
#46D342 #42D387 #42D3D0
triadic
#42D387 #8742D3 #D38742
tetradic
#42D387 #4246D3 #D3428E #D3D042
square
#42D387 #4246D3 #D3428E #D3D042
split-complementary
#42D387 #D042D3 #D34246
monochromatic
#1D7D4B #29AF69 #42D387 #74DFA7 #A5EAC6

Accessibility & contrast

On white

1.93
#42D387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#42D387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D387
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D387#FFFFFF#000000##000000
##42D3871.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C282
Deuteranopia (green-blind)
#C0B58C
Tritanopia (blue-blind)
#00D1C0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #42d387;
/* rgb */ color: rgb(66, 211, 135);
/* oklch */ color: oklch(77.2% 0.164 155.9);
Tailwind
colors: {
  custom: {
    50: '#88e1aa',
    500: '#42d387',
    950: '#000000',
  },
}
SCSS
$custom: #42d387;
$custom-light: #88e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d387",
  "rgb": {
    "r": 66,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 148.552,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77197,
    "c": 0.16432,
    "h": 155.9
  },
  "luminance": 0.49496
}

Semantic roles & 50–950 ramp

primary
#42D387
secondary
#D79ABA
accent
#4298E5
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D1510
muted
#7E837F

Preview Lab

Preview with #42D387

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

Preview Lab → · Contrast checker → · Palette generator →

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