#42C673#42C673

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

Color values

HEX#42C673
RGBrgb(66, 198, 115)
HSLhsl(142, 54%, 52%)
HSVhsv(142, 67%, 78%)
CMYKcmyk(66.7%, 0%, 41.9%, 22.4%)
CIE-LABlab(71.41, -54.13, 31.37)
CIE-LCHlch(71.41, 62.56, 149.91°)
OKLaboklab(73.51% -0.1461 0.0777)
OKLCHoklch(73.51% 0.165 152)
XYZxyz(25.5332, 42.7815, 23.1284)
Luminance0.4278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C673 #C64295
analogous
#53C642 #42C673 #42C6B5
triadic
#42C673 #7342C6 #C67342
tetradic
#42C673 #4253C6 #C64295 #C6B542
square
#42C673 #4253C6 #C64295 #C6B542
split-complementary
#42C673 #B542C6 #C64253
monochromatic
#216D3D #2F9C57 #42C673 #71D496 #A0E2B9

Accessibility & contrast

On white

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

On black

9.56
#42C673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C673
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C673#FFFFFF#000000##000000
##42C6731.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66D
Deuteranopia (green-blind)
#B6AA79
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c673;
/* rgb */ color: rgb(66, 198, 115);
/* oklch */ color: oklch(73.5% 0.165 152.0);
Tailwind
colors: {
  custom: {
    50: '#86d89c',
    500: '#42c673',
    950: '#000000',
  },
}
SCSS
$custom: #42c673;
$custom-light: #86d89c;
$custom-dark: #000000;
JSON
{
  "hex": "#42c673",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 115
  },
  "hsl": {
    "h": 142.273,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73506,
    "c": 0.16541,
    "h": 152
  },
  "luminance": 0.42784
}

Semantic roles & 50–950 ramp

primary
#42C673
secondary
#CF95B9
accent
#4BA7DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C673

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

Preview Lab → · Contrast checker → · Palette generator →

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