#42C172#42C172

#42C172 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.2% C 0.160 H 152.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#42C172
RGBrgb(66, 193, 114)
HSLhsl(143, 51%, 51%)
HSVhsv(143, 66%, 76%)
CMYKcmyk(65.8%, 0%, 40.9%, 24.3%)
CIE-LABlab(69.83, -52.40, 29.83)
CIE-LCHlch(69.83, 60.29, 150.35°)
OKLaboklab(72.2% -0.1415 0.074)
OKLCHoklch(72.2% 0.16 152.4)
XYZxyz(24.3520, 40.5105, 22.4523)
Luminance0.4051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C172 #C14291
analogous
#51C142 #42C172 #42C1B1
triadic
#42C172 #7242C1 #C17242
tetradic
#42C172 #4251C1 #C14291 #C1B142
square
#42C172 #4251C1 #C14291 #C1B142
split-complementary
#42C172 #B142C1 #C14251
monochromatic
#22673C #319557 #42C172 #70D094 #9EDFB7

Accessibility & contrast

On white

2.31
#42C172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#42C172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C172
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C172#FFFFFF#000000##000000
##42C1721.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B16C
Deuteranopia (green-blind)
#B1A677
Tritanopia (blue-blind)
#00BEAD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c172;
/* rgb */ color: rgb(66, 193, 114);
/* oklch */ color: oklch(72.2% 0.160 152.4);
Tailwind
colors: {
  custom: {
    50: '#85d59b',
    500: '#42c172',
    950: '#000000',
  },
}
SCSS
$custom: #42c172;
$custom-light: #85d59b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c172",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 114
  },
  "hsl": {
    "h": 142.677,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.15966,
    "h": 152.4
  },
  "luminance": 0.40513
}

Semantic roles & 50–950 ramp

primary
#42C172
secondary
#CC93B6
accent
#4EA5DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C172

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

Preview Lab → · Contrast checker → · Palette generator →

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