#42C159#42C159

#42C159 is a light, vivid green. Relative luminance 0.400; OKLCH L 71.8% C 0.182 H 146.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#42C159
RGBrgb(66, 193, 89)
HSLhsl(131, 51%, 51%)
HSVhsv(131, 66%, 76%)
CMYKcmyk(65.8%, 0%, 53.9%, 24.3%)
CIE-LABlab(69.48, -56.34, 41.94)
CIE-LCHlch(69.48, 70.24, 143.34°)
OKLaboklab(71.8% -0.1521 0.1005)
OKLCHoklch(71.8% 0.182 146.5)
XYZxyz(23.1183, 40.0170, 15.9550)
Luminance0.4002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C159 #C142AA
analogous
#6AC142 #42C159 #42C198
triadic
#42C159 #5942C1 #C15942
tetradic
#42C159 #426AC1 #C142AA #C19842
square
#42C159 #426AC1 #C142AA #C19842
split-complementary
#42C159 #9842C1 #C1426A
monochromatic
#22672E #319543 #42C159 #70D081 #9EDFAA

Accessibility & contrast

On white

2.33
#42C159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#42C159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C159
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C159#FFFFFF#000000##000000
##42C1591.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B050
Deuteranopia (green-blind)
#B4A561
Tritanopia (blue-blind)
#19BDA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c159;
/* rgb */ color: rgb(66, 193, 89);
/* oklch */ color: oklch(71.8% 0.182 146.5);
Tailwind
colors: {
  custom: {
    50: '#85d58a',
    500: '#42c159',
    950: '#000000',
  },
}
SCSS
$custom: #42c159;
$custom-light: #85d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c159",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 130.866,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71801,
    "c": 0.18232,
    "h": 146.5
  },
  "luminance": 0.40019
}

Semantic roles & 50–950 ramp

primary
#42C159
secondary
#CC93C1
accent
#4EC1DA
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #42C159

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

Preview Lab → · Contrast checker → · Palette generator →

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