#42C17F#42C17F

#42C17F is a light, vivid green. Relative luminance 0.408; OKLCH L 72.5% C 0.148 H 156.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#42C17F
RGBrgb(66, 193, 127)
HSLhsl(149, 51%, 51%)
HSVhsv(149, 66%, 76%)
CMYKcmyk(65.8%, 0%, 34.2%, 24.3%)
CIE-LABlab(70.06, -49.95, 23.30)
CIE-LCHlch(70.06, 55.11, 154.99°)
OKLaboklab(72.46% -0.1355 0.0587)
OKLCHoklch(72.46% 0.148 156.6)
XYZxyz(25.1452, 40.8278, 26.6299)
Luminance0.4083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C17F #C14284
analogous
#44C142 #42C17F #42C1BF
triadic
#42C17F #7F42C1 #C17F42
tetradic
#42C17F #4244C1 #C14284 #C1BF42
square
#42C17F #4244C1 #C14284 #C1BF42
split-complementary
#42C17F #BF42C1 #C14244
monochromatic
#226743 #319561 #42C17F #70D09E #9EDFBD

Accessibility & contrast

On white

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

On black

9.17
#42C17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C17F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C17F#FFFFFF#000000##000000
##42C17F1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c17f;
/* rgb */ color: rgb(66, 193, 127);
/* oklch */ color: oklch(72.5% 0.148 156.6);
Tailwind
colors: {
  custom: {
    50: '#85d5a4',
    500: '#42c17f',
    950: '#000000',
  },
}
SCSS
$custom: #42c17f;
$custom-light: #85d5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42c17f",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 127
  },
  "hsl": {
    "h": 148.819,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72461,
    "c": 0.14769,
    "h": 156.6
  },
  "luminance": 0.4083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C17F

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

Preview Lab → · Contrast checker → · Palette generator →

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