#42C480#42C480

#42C480 is a light, vivid green. Relative luminance 0.422; OKLCH L 73.2% C 0.151 H 156.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#42C480
RGBrgb(66, 196, 128)
HSLhsl(149, 52%, 51%)
HSVhsv(149, 66%, 77%)
CMYKcmyk(66.3%, 0%, 34.7%, 23.1%)
CIE-LABlab(71.00, -50.94, 24.05)
CIE-LCHlch(71.00, 56.33, 154.73°)
OKLaboklab(73.25% -0.1381 0.0605)
OKLCHoklch(73.25% 0.151 156.3)
XYZxyz(25.8806, 42.1938, 27.1982)
Luminance0.4220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C480 #C44286
analogous
#45C442 #42C480 #42C4C1
triadic
#42C480 #8042C4 #C48042
tetradic
#42C480 #4245C4 #C44286 #C4C142
square
#42C480 #4245C4 #C44286 #C4C142
split-complementary
#42C480 #C142C4 #C44245
monochromatic
#216A44 #309962 #42C480 #71D39F #9FE1BF

Accessibility & contrast

On white

2.22
#42C480 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#42C480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C480
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C480#FFFFFF#000000##000000
##42C4801.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57C
Deuteranopia (green-blind)
#B2A984
Tritanopia (blue-blind)
#00C2B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #42c480;
/* rgb */ color: rgb(66, 196, 128);
/* oklch */ color: oklch(73.2% 0.151 156.3);
Tailwind
colors: {
  custom: {
    50: '#85d7a5',
    500: '#42c480',
    950: '#000000',
  },
}
SCSS
$custom: #42c480;
$custom-light: #85d7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#42c480",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 128
  },
  "hsl": {
    "h": 148.615,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73247,
    "c": 0.1508,
    "h": 156.3
  },
  "luminance": 0.42197
}

Semantic roles & 50–950 ramp

primary
#42C480
secondary
#CE94B2
accent
#4C97DC
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #42C480

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

Preview Lab → · Contrast checker → · Palette generator →

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