#42C471#42C471

#42C471 is a light, vivid green. Relative luminance 0.418; OKLCH L 73.0% C 0.165 H 151.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#42C471
RGBrgb(66, 196, 113)
HSLhsl(142, 52%, 51%)
HSVhsv(142, 66%, 77%)
CMYKcmyk(66.3%, 0%, 42.3%, 23.1%)
CIE-LABlab(70.75, -53.72, 31.55)
CIE-LCHlch(70.75, 62.30, 149.58°)
OKLaboklab(72.96% -0.1449 0.078)
OKLCHoklch(72.96% 0.165 151.7)
XYZxyz(24.9653, 41.8277, 22.3774)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C471 #C44295
analogous
#54C442 #42C471 #42C4B2
triadic
#42C471 #7142C4 #C47142
tetradic
#42C471 #4254C4 #C44295 #C4B242
square
#42C471 #4254C4 #C44295 #C4B242
split-complementary
#42C471 #B242C4 #C44254
monochromatic
#216A3C #309956 #42C471 #71D394 #9FE1B7

Accessibility & contrast

On white

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

On black

9.37
#42C471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C471
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C471#FFFFFF#000000##000000
##42C4711.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46B
Deuteranopia (green-blind)
#B4A977
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #42c471;
/* rgb */ color: rgb(66, 196, 113);
/* oklch */ color: oklch(73.0% 0.165 151.7);
Tailwind
colors: {
  custom: {
    50: '#85d79b',
    500: '#42c471',
    950: '#000000',
  },
}
SCSS
$custom: #42c471;
$custom-light: #85d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c471",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 113
  },
  "hsl": {
    "h": 141.692,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72956,
    "c": 0.1646,
    "h": 151.7
  },
  "luminance": 0.4183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C471

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

Preview Lab → · Contrast checker → · Palette generator →

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