#42C674#42C674

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

Color values

HEX#42C674
RGBrgb(66, 198, 116)
HSLhsl(143, 54%, 52%)
HSVhsv(143, 67%, 78%)
CMYKcmyk(66.7%, 0%, 41.4%, 22.4%)
CIE-LABlab(71.42, -53.96, 30.87)
CIE-LCHlch(71.42, 62.16, 150.22°)
OKLaboklab(73.52% -0.1456 0.0765)
OKLCHoklch(73.52% 0.164 152.3)
XYZxyz(25.5911, 42.8046, 23.4331)
Luminance0.4281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C674 #C64294
analogous
#52C642 #42C674 #42C6B6
triadic
#42C674 #7442C6 #C67442
tetradic
#42C674 #4252C6 #C64294 #C6B642
square
#42C674 #4252C6 #C64294 #C6B642
split-complementary
#42C674 #B642C6 #C64252
monochromatic
#216D3E #2F9C58 #42C674 #71D497 #A0E2B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C674#FFFFFF#000000##000000
##42C6741.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)
#C6B66E
Deuteranopia (green-blind)
#B6AA79
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c674;
/* rgb */ color: rgb(66, 198, 116);
/* oklch */ color: oklch(73.5% 0.164 152.3);
Tailwind
colors: {
  custom: {
    50: '#86d89d',
    500: '#42c674',
    950: '#000000',
  },
}
SCSS
$custom: #42c674;
$custom-light: #86d89d;
$custom-dark: #000000;
JSON
{
  "hex": "#42c674",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 116
  },
  "hsl": {
    "h": 142.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73524,
    "c": 0.16449,
    "h": 152.3
  },
  "luminance": 0.42807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C674

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

Preview Lab → · Contrast checker → · Palette generator →

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