#42C875#42C875

#42C875 is a light, vivid green. Relative luminance 0.438; OKLCH L 74.1% C 0.166 H 152.3°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#42C875
RGBrgb(66, 200, 117)
HSLhsl(143, 55%, 52%)
HSVhsv(143, 67%, 78%)
CMYKcmyk(67%, 0%, 41.5%, 21.6%)
CIE-LABlab(72.06, -54.54, 31.19)
CIE-LCHlch(72.06, 62.83, 150.23°)
OKLaboklab(74.05% -0.1472 0.0773)
OKLCHoklch(74.05% 0.166 152.3)
XYZxyz(26.1097, 43.7483, 23.8944)
Luminance0.4375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C875 #C84295
analogous
#52C842 #42C875 #42C8B8
triadic
#42C875 #7542C8 #C87542
tetradic
#42C875 #4252C8 #C84295 #C8B842
square
#42C875 #4252C8 #C84295 #C8B842
split-complementary
#42C875 #B842C8 #C84252
monochromatic
#206F3E #2E9F59 #42C875 #71D698 #A1E4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C875#FFFFFF#000000##000000
##42C8751.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)
#C8B86F
Deuteranopia (green-blind)
#B8AC7B
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c875;
/* rgb */ color: rgb(66, 200, 117);
/* oklch */ color: oklch(74.1% 0.166 152.3);
Tailwind
colors: {
  custom: {
    50: '#86da9d',
    500: '#42c875',
    950: '#000000',
  },
}
SCSS
$custom: #42c875;
$custom-light: #86da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#42c875",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 117
  },
  "hsl": {
    "h": 142.836,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.16622,
    "h": 152.3
  },
  "luminance": 0.43751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C875

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

Preview Lab → · Contrast checker → · Palette generator →

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