#42C975#42C975

#42C975 is a light, vivid green. Relative luminance 0.442; OKLCH L 74.3% C 0.168 H 152.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#42C975
RGBrgb(66, 201, 117)
HSLhsl(143, 56%, 52%)
HSVhsv(143, 67%, 79%)
CMYKcmyk(67.2%, 0%, 41.8%, 21.2%)
CIE-LABlab(72.37, -54.92, 31.60)
CIE-LCHlch(72.37, 63.36, 150.08°)
OKLaboklab(74.31% -0.1481 0.0782)
OKLCHoklch(74.31% 0.168 152.2)
XYZxyz(26.3421, 44.2131, 23.9719)
Luminance0.4422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C975 #C94296
analogous
#52C942 #42C975 #42C9B9
triadic
#42C975 #7542C9 #C97542
tetradic
#42C975 #4252C9 #C94296 #C9B942
square
#42C975 #4252C9 #C94296 #C9B942
split-complementary
#42C975 #B942C9 #C94252
monochromatic
#20703E #2EA059 #42C975 #72D798 #A1E4BB

Accessibility & contrast

On white

2.13
#42C975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#42C975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C975
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C975#FFFFFF#000000##000000
##42C9751.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B96F
Deuteranopia (green-blind)
#B8AD7B
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c975;
/* rgb */ color: rgb(66, 201, 117);
/* oklch */ color: oklch(74.3% 0.168 152.2);
Tailwind
colors: {
  custom: {
    50: '#86da9d',
    500: '#42c975',
    950: '#000000',
  },
}
SCSS
$custom: #42c975;
$custom-light: #86da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#42c975",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 117
  },
  "hsl": {
    "h": 142.667,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7431,
    "c": 0.16754,
    "h": 152.2
  },
  "luminance": 0.44216
}

Semantic roles & 50–950 ramp

primary
#42C975
secondary
#D196BB
accent
#49A6DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C975

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

Preview Lab → · Contrast checker → · Palette generator →

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