#42C452#42C452

#42C452 is a light, vivid green. Relative luminance 0.412; OKLCH L 72.5% C 0.192 H 145.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#42C452
RGBrgb(66, 196, 82)
HSLhsl(127, 52%, 51%)
HSVhsv(127, 66%, 77%)
CMYKcmyk(66.3%, 0%, 58.2%, 23.1%)
CIE-LABlab(70.35, -58.33, 46.27)
CIE-LCHlch(70.35, 74.45, 141.58°)
OKLaboklab(72.49% -0.1577 0.1095)
OKLCHoklch(72.49% 0.192 145.2)
XYZxyz(23.5081, 41.2448, 14.7032)
Luminance0.4125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C452 #C442B4
analogous
#73C442 #42C452 #42C493
triadic
#42C452 #5242C4 #C45242
tetradic
#42C452 #4273C4 #C442B4 #C49342
square
#42C452 #4273C4 #C442B4 #C49342
split-complementary
#42C452 #9342C4 #C44273
monochromatic
#216A2A #30993D #42C452 #71D37D #9FE1A7

Accessibility & contrast

On white

2.27
#42C452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#42C452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C452
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C452#FFFFFF#000000##000000
##42C4521.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B346
Deuteranopia (green-blind)
#B7A85B
Tritanopia (blue-blind)
#1BBFAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c452;
/* rgb */ color: rgb(66, 196, 82);
/* oklch */ color: oklch(72.5% 0.192 145.2);
Tailwind
colors: {
  custom: {
    50: '#86d786',
    500: '#42c452',
    950: '#000000',
  },
}
SCSS
$custom: #42c452;
$custom-light: #86d786;
$custom-dark: #000000;
JSON
{
  "hex": "#42c452",
  "rgb": {
    "r": 66,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 127.385,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72491,
    "c": 0.19197,
    "h": 145.2
  },
  "luminance": 0.41247
}

Semantic roles & 50–950 ramp

primary
#42C452
secondary
#CE94C7
accent
#4CCADC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42C452

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

Preview Lab → · Contrast checker → · Palette generator →

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