#42C97B#42C97B

#42C97B is a light, vivid green. Relative luminance 0.444; OKLCH L 74.4% C 0.162 H 153.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#42C97B
RGBrgb(66, 201, 123)
HSLhsl(145, 56%, 52%)
HSVhsv(145, 67%, 79%)
CMYKcmyk(67.2%, 0%, 38.8%, 21.2%)
CIE-LABlab(72.47, -53.84, 28.63)
CIE-LCHlch(72.47, 60.98, 152.00°)
OKLaboklab(74.42% -0.1455 0.0714)
OKLCHoklch(74.42% 0.162 153.9)
XYZxyz(26.7062, 44.3587, 25.8897)
Luminance0.4436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C97B #C94290
analogous
#4DC942 #42C97B #42C9BE
triadic
#42C97B #7B42C9 #C97B42
tetradic
#42C97B #424DC9 #C94290 #C9BE42
square
#42C97B #424DC9 #C94290 #C9BE42
split-complementary
#42C97B #BE42C9 #C9424D
monochromatic
#207042 #2EA05E #42C97B #72D79C #A1E4BD

Accessibility & contrast

On white

2.13
#42C97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#42C97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C97B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C97B#FFFFFF#000000##000000
##42C97B1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B976
Deuteranopia (green-blind)
#B8AD80
Tritanopia (blue-blind)
#00C7B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c97b;
/* rgb */ color: rgb(66, 201, 123);
/* oklch */ color: oklch(74.4% 0.162 153.9);
Tailwind
colors: {
  custom: {
    50: '#86daa2',
    500: '#42c97b',
    950: '#000000',
  },
}
SCSS
$custom: #42c97b;
$custom-light: #86daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#42c97b",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 145.333,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74422,
    "c": 0.16203,
    "h": 153.9
  },
  "luminance": 0.44362
}

Semantic roles & 50–950 ramp

primary
#42C97B
secondary
#D196B8
accent
#49A0DF
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C97B

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

Preview Lab → · Contrast checker → · Palette generator →

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