#42C874#42C874

#42C874 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.167 H 152.0°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#42C874
RGBrgb(66, 200, 116)
HSLhsl(142, 55%, 52%)
HSVhsv(142, 67%, 78%)
CMYKcmyk(67%, 0%, 42%, 21.6%)
CIE-LABlab(72.04, -54.71, 31.69)
CIE-LCHlch(72.04, 63.23, 149.92°)
OKLaboklab(74.04% -0.1476 0.0784)
OKLCHoklch(74.04% 0.167 152)
XYZxyz(26.0513, 43.7250, 23.5864)
Luminance0.4373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C874 #C84296
analogous
#53C842 #42C874 #42C8B7
triadic
#42C874 #7442C8 #C87442
tetradic
#42C874 #4253C8 #C84296 #C8B742
square
#42C874 #4253C8 #C84296 #C8B742
split-complementary
#42C874 #B742C8 #C84253
monochromatic
#206F3E #2E9F58 #42C874 #71D697 #A1E4BA

Accessibility & contrast

On white

2.15
#42C874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#42C874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C874
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C874#FFFFFF#000000##000000
##42C8741.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B86E
Deuteranopia (green-blind)
#B8AC7A
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c874;
/* rgb */ color: rgb(66, 200, 116);
/* oklch */ color: oklch(74.0% 0.167 152.0);
Tailwind
colors: {
  custom: {
    50: '#86da9d',
    500: '#42c874',
    950: '#000000',
  },
}
SCSS
$custom: #42c874;
$custom-light: #86da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#42c874",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 116
  },
  "hsl": {
    "h": 142.388,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74036,
    "c": 0.16714,
    "h": 152
  },
  "luminance": 0.43728
}

Semantic roles & 50–950 ramp

primary
#42C874
secondary
#D096BA
accent
#4AA7DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C874

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

Preview Lab → · Contrast checker → · Palette generator →

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