#42D27C#42D27C

#42D27C is a light, vivid green. Relative luminance 0.487; OKLCH L 76.7% C 0.173 H 152.9°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#42D27C
RGBrgb(66, 210, 124)
HSLhsl(144, 62%, 54%)
HSVhsv(144, 69%, 82%)
CMYKcmyk(68.6%, 0%, 41%, 17.6%)
CIE-LABlab(75.27, -57.06, 31.80)
CIE-LCHlch(75.27, 65.32, 150.87°)
OKLaboklab(76.73% -0.1539 0.0789)
OKLCHoklch(76.73% 0.173 152.9)
XYZxyz(28.9290, 48.7035, 26.9410)
Luminance0.4871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D27C #D24298
analogous
#50D242 #42D27C #42D2C4
triadic
#42D27C #7C42D2 #D27C42
tetradic
#42D27C #4250D2 #D24298 #D2C442
square
#42D27C #4250D2 #D24298 #D2C442
split-complementary
#42D27C #C442D2 #D24250
monochromatic
#1E7C44 #29AD5F #42D27C #73DE9E #A5EAC1

Accessibility & contrast

On white

1.96
#42D27C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#42D27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D27C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D27C#FFFFFF#000000##000000
##42D27C1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C176
Deuteranopia (green-blind)
#C0B482
Tritanopia (blue-blind)
#00CFBD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #42d27c;
/* rgb */ color: rgb(66, 210, 124);
/* oklch */ color: oklch(76.7% 0.173 152.9);
Tailwind
colors: {
  custom: {
    50: '#88e1a3',
    500: '#42d27c',
    950: '#000000',
  },
}
SCSS
$custom: #42d27c;
$custom-light: #88e1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42d27c",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 124
  },
  "hsl": {
    "h": 144.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76733,
    "c": 0.17295,
    "h": 152.9
  },
  "luminance": 0.48707
}

Semantic roles & 50–950 ramp

primary
#42D27C
secondary
#D799BE
accent
#43A4E5
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #42D27C

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

Preview Lab → · Contrast checker → · Palette generator →

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