#42D168#42D168

#42D168 is a light, vivid green. Relative luminance 0.478; OKLCH L 76.1% C 0.190 H 148.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#42D168
RGBrgb(66, 209, 104)
HSLhsl(136, 61%, 54%)
HSVhsv(136, 68%, 82%)
CMYKcmyk(68.4%, 0%, 50.2%, 18%)
CIE-LABlab(74.67, -59.95, 41.03)
CIE-LCHlch(74.67, 72.64, 145.61°)
OKLaboklab(76.15% -0.1615 0.0993)
OKLCHoklch(76.15% 0.19 148.4)
XYZxyz(27.5438, 47.7557, 20.8602)
Luminance0.4776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D168 #D142AB
analogous
#64D142 #42D168 #42D1B0
triadic
#42D168 #6842D1 #D16842
tetradic
#42D168 #4264D1 #D142AB #D1B042
square
#42D168 #4264D1 #D142AB #D1B042
split-complementary
#42D168 #B042D1 #D14264
monochromatic
#1E7B37 #2AAC4C #42D168 #73DD8F #A4E9B7

Accessibility & contrast

On white

1.99
#42D168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#42D168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D168
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D168#FFFFFF#000000##000000
##42D1681.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5F
Deuteranopia (green-blind)
#C2B370
Tritanopia (blue-blind)
#00CDB9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d168;
/* rgb */ color: rgb(66, 209, 104);
/* oklch */ color: oklch(76.1% 0.190 148.4);
Tailwind
colors: {
  custom: {
    50: '#88e095',
    500: '#42d168',
    950: '#000000',
  },
}
SCSS
$custom: #42d168;
$custom-light: #88e095;
$custom-dark: #000000;
JSON
{
  "hex": "#42d168",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 135.944,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76148,
    "c": 0.1896,
    "h": 148.4
  },
  "luminance": 0.47759
}

Semantic roles & 50–950 ramp

primary
#42D168
secondary
#D699C6
accent
#44B9E4
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #42D168

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

Preview Lab → · Contrast checker → · Palette generator →

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