#42C166#42C166

#42C166 is a light, vivid green. Relative luminance 0.403; OKLCH L 72.0% C 0.171 H 149.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#42C166
RGBrgb(66, 193, 102)
HSLhsl(137, 51%, 51%)
HSVhsv(137, 66%, 76%)
CMYKcmyk(65.8%, 0%, 47.2%, 24.3%)
CIE-LABlab(69.65, -54.42, 35.74)
CIE-LCHlch(69.65, 65.11, 146.71°)
OKLaboklab(72% -0.1467 0.0873)
OKLCHoklch(72% 0.171 149.3)
XYZxyz(23.7132, 40.2550, 19.0881)
Luminance0.4026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C166 #C1429D
analogous
#5DC142 #42C166 #42C1A5
triadic
#42C166 #6642C1 #C16642
tetradic
#42C166 #425DC1 #C1429D #C1A542
square
#42C166 #425DC1 #C1429D #C1A542
split-complementary
#42C166 #A542C1 #C1425D
monochromatic
#226735 #31954D #42C166 #70D08B #9EDFB1

Accessibility & contrast

On white

2.32
#42C166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#42C166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C166
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C166#FFFFFF#000000##000000
##42C1661.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B15F
Deuteranopia (green-blind)
#B3A66C
Tritanopia (blue-blind)
#0CBDAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c166;
/* rgb */ color: rgb(66, 193, 102);
/* oklch */ color: oklch(72.0% 0.171 149.3);
Tailwind
colors: {
  custom: {
    50: '#85d593',
    500: '#42c166',
    950: '#000000',
  },
}
SCSS
$custom: #42c166;
$custom-light: #85d593;
$custom-dark: #000000;
JSON
{
  "hex": "#42c166",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 137.008,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71996,
    "c": 0.17074,
    "h": 149.3
  },
  "luminance": 0.40257
}

Semantic roles & 50–950 ramp

primary
#42C166
secondary
#CC93BC
accent
#4EB2DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E

Preview Lab

Preview with #42C166

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

Preview Lab → · Contrast checker → · Palette generator →

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