#42CA7B#42CA7B

#42CA7B is a light, vivid green. Relative luminance 0.448; OKLCH L 74.7% C 0.163 H 153.7°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#42CA7B
RGBrgb(66, 202, 123)
HSLhsl(145, 56%, 53%)
HSVhsv(145, 67%, 79%)
CMYKcmyk(67.3%, 0%, 39.1%, 20.8%)
CIE-LABlab(72.78, -54.22, 29.04)
CIE-LCHlch(72.78, 61.51, 151.83°)
OKLaboklab(74.68% -0.1465 0.0724)
OKLCHoklch(74.68% 0.163 153.7)
XYZxyz(26.9401, 44.8264, 25.9676)
Luminance0.4483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CA7B #CA4291
analogous
#4DCA42 #42CA7B #42CABF
triadic
#42CA7B #7B42CA #CA7B42
tetradic
#42CA7B #424DCA #CA4291 #CABF42
square
#42CA7B #424DCA #CA4291 #CABF42
split-complementary
#42CA7B #BF42CA #CA424D
monochromatic
#207242 #2DA25E #42CA7B #72D79C #A2E5BE

Accessibility & contrast

On white

2.11
#42CA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#42CA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CA7B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CA7B#FFFFFF#000000##000000
##42CA7B1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABA76
Deuteranopia (green-blind)
#B9AE80
Tritanopia (blue-blind)
#00C8B6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #42ca7b;
/* rgb */ color: rgb(66, 202, 123);
/* oklch */ color: oklch(74.7% 0.163 153.7);
Tailwind
colors: {
  custom: {
    50: '#86dba2',
    500: '#42ca7b',
    950: '#000000',
  },
}
SCSS
$custom: #42ca7b;
$custom-light: #86dba2;
$custom-dark: #000000;
JSON
{
  "hex": "#42ca7b",
  "rgb": {
    "r": 66,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 145.147,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74677,
    "c": 0.16336,
    "h": 153.7
  },
  "luminance": 0.44829
}

Semantic roles & 50–950 ramp

primary
#42CA7B
secondary
#D196B9
accent
#48A0DF
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42CA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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