#42C470#42C470

#42C470 is a light, vivid green. Relative luminance 0.418; OKLCH L 72.9% C 0.166 H 151.4°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#42C470
RGBrgb(66, 196, 112)
HSLhsl(141, 52%, 51%)
HSVhsv(141, 66%, 77%)
CMYKcmyk(66.3%, 0%, 42.9%, 23.1%)
CIE-LABlab(70.74, -53.89, 32.04)
CIE-LCHlch(70.74, 62.70, 149.27°)
OKLaboklab(72.94% -0.1454 0.0791)
OKLCHoklch(72.94% 0.166 151.4)
XYZxyz(24.9093, 41.8053, 22.0826)
Luminance0.4181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C470 #C44296
analogous
#55C442 #42C470 #42C4B1
triadic
#42C470 #7042C4 #C47042
tetradic
#42C470 #4255C4 #C44296 #C4B142
square
#42C470 #4255C4 #C44296 #C4B142
split-complementary
#42C470 #B142C4 #C44255
monochromatic
#216A3B #309955 #42C470 #71D393 #9FE1B7

Accessibility & contrast

On white

2.24
#42C470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#42C470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C470
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C470#FFFFFF#000000##000000
##42C4701.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46A
Deuteranopia (green-blind)
#B4A976
Tritanopia (blue-blind)
#00C1AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c470;
/* rgb */ color: rgb(66, 196, 112);
/* oklch */ color: oklch(72.9% 0.166 151.4);
Tailwind
colors: {
  custom: {
    50: '#85d79a',
    500: '#42c470',
    950: '#000000',
  },
}
SCSS
$custom: #42c470;
$custom-light: #85d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c470",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 112
  },
  "hsl": {
    "h": 141.231,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72939,
    "c": 0.16553,
    "h": 151.4
  },
  "luminance": 0.41808
}

Semantic roles & 50–950 ramp

primary
#42C470
secondary
#CE94B9
accent
#4CA9DC
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C470

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

Preview Lab → · Contrast checker → · Palette generator →

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