#42C374#42C374

#42C374 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.8% C 0.161 H 152.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#42C374
RGBrgb(66, 195, 116)
HSLhsl(143, 52%, 51%)
HSVhsv(143, 66%, 76%)
CMYKcmyk(66.2%, 0%, 40.5%, 23.5%)
CIE-LABlab(70.49, -52.81, 29.65)
CIE-LCHlch(70.49, 60.56, 150.69°)
OKLaboklab(72.75% -0.1426 0.0736)
OKLCHoklch(72.75% 0.161 152.7)
XYZxyz(24.9122, 41.4468, 23.2067)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C374 #C34291
analogous
#50C342 #42C374 #42C3B4
triadic
#42C374 #7442C3 #C37442
tetradic
#42C374 #4250C3 #C34291 #C3B442
square
#42C374 #4250C3 #C34291 #C3B442
split-complementary
#42C374 #B442C3 #C34250
monochromatic
#21693D #309858 #42C374 #70D296 #9FE0B8

Accessibility & contrast

On white

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

On black

9.29
#42C374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C374
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C374#FFFFFF#000000##000000
##42C3741.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c374;
/* rgb */ color: rgb(66, 195, 116);
/* oklch */ color: oklch(72.8% 0.161 152.7);
Tailwind
colors: {
  custom: {
    50: '#85d69d',
    500: '#42c374',
    950: '#000000',
  },
}
SCSS
$custom: #42c374;
$custom-light: #85d69d;
$custom-dark: #000000;
JSON
{
  "hex": "#42c374",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 116
  },
  "hsl": {
    "h": 143.256,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72754,
    "c": 0.1605,
    "h": 152.7
  },
  "luminance": 0.41449
}

Semantic roles & 50–950 ramp

primary
#42C374
secondary
#CD94B7
accent
#4DA4DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C374

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

Preview Lab → · Contrast checker → · Palette generator →

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