#42C672#42C672

#42C672 is a light, vivid green. Relative luminance 0.428; OKLCH L 73.5% C 0.166 H 151.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#42C672
RGBrgb(66, 198, 114)
HSLhsl(142, 54%, 52%)
HSVhsv(142, 67%, 78%)
CMYKcmyk(66.7%, 0%, 42.4%, 22.4%)
CIE-LABlab(71.39, -54.30, 31.86)
CIE-LCHlch(71.39, 62.96, 149.60°)
OKLaboklab(73.49% -0.1465 0.0788)
OKLCHoklch(73.49% 0.166 151.7)
XYZxyz(25.4760, 42.7586, 22.8270)
Luminance0.4276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C672 #C64296
analogous
#54C642 #42C672 #42C6B4
triadic
#42C672 #7242C6 #C67242
tetradic
#42C672 #4254C6 #C64296 #C6B442
square
#42C672 #4254C6 #C64296 #C6B442
split-complementary
#42C672 #B442C6 #C64254
monochromatic
#216D3C #2F9C57 #42C672 #71D495 #A0E2B8

Accessibility & contrast

On white

2.20
#42C672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#42C672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C672
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C672#FFFFFF#000000##000000
##42C6721.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66C
Deuteranopia (green-blind)
#B6AA78
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c672;
/* rgb */ color: rgb(66, 198, 114);
/* oklch */ color: oklch(73.5% 0.166 151.7);
Tailwind
colors: {
  custom: {
    50: '#86d89b',
    500: '#42c672',
    950: '#000000',
  },
}
SCSS
$custom: #42c672;
$custom-light: #86d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c672",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 114
  },
  "hsl": {
    "h": 141.818,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73488,
    "c": 0.16633,
    "h": 151.7
  },
  "luminance": 0.42761
}

Semantic roles & 50–950 ramp

primary
#42C672
secondary
#CF95BA
accent
#4BA8DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C672

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

Preview Lab → · Contrast checker → · Palette generator →

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