#42C372#42C372

#42C372 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.7% C 0.162 H 152.1°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#42C372
RGBrgb(66, 195, 114)
HSLhsl(142, 52%, 51%)
HSVhsv(142, 66%, 76%)
CMYKcmyk(66.2%, 0%, 41.5%, 23.5%)
CIE-LABlab(70.46, -53.16, 30.64)
CIE-LCHlch(70.46, 61.36, 150.04°)
OKLaboklab(72.72% -0.1435 0.0759)
OKLCHoklch(72.72% 0.162 152.1)
XYZxyz(24.7971, 41.4007, 22.6006)
Luminance0.4140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C372 #C34293
analogous
#52C342 #42C372 #42C3B2
triadic
#42C372 #7242C3 #C37242
tetradic
#42C372 #4252C3 #C34293 #C3B242
square
#42C372 #4252C3 #C34293 #C3B242
split-complementary
#42C372 #B242C3 #C34252
monochromatic
#21693C #309857 #42C372 #70D295 #9FE0B7

Accessibility & contrast

On white

2.26
#42C372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#42C372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C372
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C372#FFFFFF#000000##000000
##42C3721.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B36C
Deuteranopia (green-blind)
#B3A877
Tritanopia (blue-blind)
#00C0AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c372;
/* rgb */ color: rgb(66, 195, 114);
/* oklch */ color: oklch(72.7% 0.162 152.1);
Tailwind
colors: {
  custom: {
    50: '#85d69b',
    500: '#42c372',
    950: '#000000',
  },
}
SCSS
$custom: #42c372;
$custom-light: #85d69b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c372",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 114
  },
  "hsl": {
    "h": 142.326,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.16234,
    "h": 152.1
  },
  "luminance": 0.41403
}

Semantic roles & 50–950 ramp

primary
#42C372
secondary
#CD94B8
accent
#4DA6DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C372

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

Preview Lab → · Contrast checker → · Palette generator →

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