#42D172#42D172

#42D172 is a light, vivid green. Relative luminance 0.480; OKLCH L 76.3% C 0.181 H 150.5°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#42D172
RGBrgb(66, 209, 114)
HSLhsl(140, 61%, 54%)
HSVhsv(140, 68%, 82%)
CMYKcmyk(68.4%, 0%, 45.5%, 18%)
CIE-LABlab(74.81, -58.39, 36.26)
CIE-LCHlch(74.81, 68.73, 148.16°)
OKLaboklab(76.3% -0.1573 0.089)
OKLCHoklch(76.3% 0.181 150.5)
XYZxyz(28.0822, 47.9710, 23.6957)
Luminance0.4797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D172 #D142A1
analogous
#5AD142 #42D172 #42D1BA
triadic
#42D172 #7242D1 #D17242
tetradic
#42D172 #425AD1 #D142A1 #D1BA42
square
#42D172 #425AD1 #D142A1 #D1BA42
split-complementary
#42D172 #BA42D1 #D1425A
monochromatic
#1E7B3D #2AAC56 #42D172 #73DD97 #A4E9BB

Accessibility & contrast

On white

1.98
#42D172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#42D172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D172
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D172#FFFFFF#000000##000000
##42D1721.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06B
Deuteranopia (green-blind)
#C1B379
Tritanopia (blue-blind)
#00CEBA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d172;
/* rgb */ color: rgb(66, 209, 114);
/* oklch */ color: oklch(76.3% 0.181 150.5);
Tailwind
colors: {
  custom: {
    50: '#88e09c',
    500: '#42d172',
    950: '#000000',
  },
}
SCSS
$custom: #42d172;
$custom-light: #88e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#42d172",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 140.14,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76304,
    "c": 0.18072,
    "h": 150.5
  },
  "luminance": 0.47974
}

Semantic roles & 50–950 ramp

primary
#42D172
secondary
#D699C1
accent
#44AEE4
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #42D172

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

Preview Lab → · Contrast checker → · Palette generator →

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