#42D166#42D166

#42D166 is a light, vivid green. Relative luminance 0.477; OKLCH L 76.1% C 0.191 H 148.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#42D166
RGBrgb(66, 209, 102)
HSLhsl(135, 61%, 54%)
HSVhsv(135, 68%, 82%)
CMYKcmyk(68.4%, 0%, 51.2%, 18%)
CIE-LABlab(74.65, -60.24, 41.97)
CIE-LCHlch(74.65, 73.42, 145.13°)
OKLaboklab(76.12% -0.1623 0.1013)
OKLCHoklch(76.12% 0.191 148)
XYZxyz(27.4435, 47.7155, 20.3315)
Luminance0.4772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D166 #D142AD
analogous
#66D142 #42D166 #42D1AE
triadic
#42D166 #6642D1 #D16642
tetradic
#42D166 #4266D1 #D142AD #D1AE42
square
#42D166 #4266D1 #D142AD #D1AE42
split-complementary
#42D166 #AE42D1 #D14266
monochromatic
#1E7B35 #2AAC4B #42D166 #73DD8E #A4E9B6

Accessibility & contrast

On white

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

On black

10.54
#42D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D166
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D166#FFFFFF#000000##000000
##42D1661.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5D
Deuteranopia (green-blind)
#C2B36E
Tritanopia (blue-blind)
#00CDB8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d166;
/* rgb */ color: rgb(66, 209, 102);
/* oklch */ color: oklch(76.1% 0.191 148.0);
Tailwind
colors: {
  custom: {
    50: '#88e094',
    500: '#42d166',
    950: '#000000',
  },
}
SCSS
$custom: #42d166;
$custom-light: #88e094;
$custom-dark: #000000;
JSON
{
  "hex": "#42d166",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 135.105,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76118,
    "c": 0.19135,
    "h": 148
  },
  "luminance": 0.47718
}

Semantic roles & 50–950 ramp

primary
#42D166
secondary
#D699C7
accent
#44BCE4
background
#F9FDF9
surface
#F1FBF1
border
#CBD4CB
text
#0D150D
muted
#7E837E

Preview Lab

Preview with #42D166

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

Preview Lab → · Contrast checker → · Palette generator →

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