#42C97F#42C97F

#42C97F is a light, vivid green. Relative luminance 0.445; OKLCH L 74.5% C 0.158 H 155.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#42C97F
RGBrgb(66, 201, 127)
HSLhsl(147, 56%, 52%)
HSVhsv(147, 67%, 79%)
CMYKcmyk(67.2%, 0%, 36.8%, 21.2%)
CIE-LABlab(72.54, -53.09, 26.63)
CIE-LCHlch(72.54, 59.40, 153.36°)
OKLaboklab(74.5% -0.1436 0.0667)
OKLCHoklch(74.5% 0.158 155.1)
XYZxyz(26.9618, 44.4609, 27.2355)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C97F #C9428C
analogous
#48C942 #42C97F #42C9C3
triadic
#42C97F #7F42C9 #C97F42
tetradic
#42C97F #4248C9 #C9428C #C9C342
square
#42C97F #4248C9 #C9428C #C9C342
split-complementary
#42C97F #C342C9 #C94248
monochromatic
#207044 #2EA061 #42C97F #72D79F #A1E4BF

Accessibility & contrast

On white

2.12
#42C97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#42C97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C97F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C97F#FFFFFF#000000##000000
##42C97F1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97A
Deuteranopia (green-blind)
#B7AD84
Tritanopia (blue-blind)
#00C7B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c97f;
/* rgb */ color: rgb(66, 201, 127);
/* oklch */ color: oklch(74.5% 0.158 155.1);
Tailwind
colors: {
  custom: {
    50: '#86daa4',
    500: '#42c97f',
    950: '#000000',
  },
}
SCSS
$custom: #42c97f;
$custom-light: #86daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#42c97f",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 127
  },
  "hsl": {
    "h": 147.111,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.745,
    "c": 0.15838,
    "h": 155.1
  },
  "luminance": 0.44464
}

Semantic roles & 50–950 ramp

primary
#42C97F
secondary
#D196B6
accent
#499BDF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C97F

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

Preview Lab → · Contrast checker → · Palette generator →

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