#42C072#42C072

#42C072 is a light, vivid green. Relative luminance 0.401; OKLCH L 71.9% C 0.158 H 152.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#42C072
RGBrgb(66, 192, 114)
HSLhsl(143, 50%, 51%)
HSVhsv(143, 66%, 75%)
CMYKcmyk(65.6%, 0%, 40.6%, 24.7%)
CIE-LABlab(69.52, -52.01, 29.42)
CIE-LCHlch(69.52, 59.75, 150.51°)
OKLaboklab(71.95% -0.1405 0.0731)
OKLCHoklch(71.95% 0.158 152.5)
XYZxyz(24.1317, 40.0699, 22.3788)
Luminance0.4007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C072 #C04290
analogous
#51C042 #42C072 #42C0B1
triadic
#42C072 #7242C0 #C07242
tetradic
#42C072 #4251C0 #C04290 #C0B142
square
#42C072 #4251C0 #C04290 #C0B142
split-complementary
#42C072 #B142C0 #C04251
monochromatic
#22663C #319457 #42C072 #70CF94 #9EDFB6

Accessibility & contrast

On white

2.33
#42C072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#42C072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C072
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C072#FFFFFF#000000##000000
##42C0721.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B16D
Deuteranopia (green-blind)
#B0A577
Tritanopia (blue-blind)
#00BDAD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c072;
/* rgb */ color: rgb(66, 192, 114);
/* oklch */ color: oklch(71.9% 0.158 152.5);
Tailwind
colors: {
  custom: {
    50: '#84d49b',
    500: '#42c072',
    950: '#000000',
  },
}
SCSS
$custom: #42c072;
$custom-light: #84d49b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c072",
  "rgb": {
    "r": 66,
    "g": 192,
    "b": 114
  },
  "hsl": {
    "h": 142.857,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71947,
    "c": 0.15832,
    "h": 152.5
  },
  "luminance": 0.40072
}

Semantic roles & 50–950 ramp

primary
#42C072
secondary
#CB93B6
accent
#4EA4DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C072

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

Preview Lab → · Contrast checker → · Palette generator →

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