#42C17E#42C17E

#42C17E is a light, vivid green. Relative luminance 0.408; OKLCH L 72.4% C 0.149 H 156.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#42C17E
RGBrgb(66, 193, 126)
HSLhsl(148, 51%, 51%)
HSVhsv(148, 66%, 76%)
CMYKcmyk(65.8%, 0%, 34.7%, 24.3%)
CIE-LABlab(70.04, -50.15, 23.80)
CIE-LCHlch(70.04, 55.51, 154.61°)
OKLaboklab(72.44% -0.136 0.0599)
OKLCHoklch(72.44% 0.149 156.2)
XYZxyz(25.0804, 40.8019, 26.2884)
Luminance0.4081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C17E #C14285
analogous
#45C142 #42C17E #42C1BD
triadic
#42C17E #7E42C1 #C17E42
tetradic
#42C17E #4245C1 #C14285 #C1BD42
square
#42C17E #4245C1 #C14285 #C1BD42
split-complementary
#42C17E #BD42C1 #C14245
monochromatic
#226742 #319560 #42C17E #70D09D #9EDFBD

Accessibility & contrast

On white

2.29
#42C17E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#42C17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C17E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C17E#FFFFFF#000000##000000
##42C17E1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B27A
Deuteranopia (green-blind)
#AFA682
Tritanopia (blue-blind)
#00BFB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c17e;
/* rgb */ color: rgb(66, 193, 126);
/* oklch */ color: oklch(72.4% 0.149 156.2);
Tailwind
colors: {
  custom: {
    50: '#85d5a4',
    500: '#42c17e',
    950: '#000000',
  },
}
SCSS
$custom: #42c17e;
$custom-light: #85d5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42c17e",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 126
  },
  "hsl": {
    "h": 148.346,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7244,
    "c": 0.14859,
    "h": 156.2
  },
  "luminance": 0.40805
}

Semantic roles & 50–950 ramp

primary
#42C17E
secondary
#CC93B1
accent
#4E98DA
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #42C17E

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

Preview Lab → · Contrast checker → · Palette generator →

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