#42CF7D#42CF7D

#42CF7D is a light, vivid green. Relative luminance 0.473; OKLCH L 76.0% C 0.168 H 153.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#42CF7D
RGBrgb(66, 207, 125)
HSLhsl(145, 59%, 54%)
HSVhsv(145, 68%, 81%)
CMYKcmyk(68.1%, 0%, 39.6%, 18.8%)
CIE-LABlab(74.36, -55.75, 30.09)
CIE-LCHlch(74.36, 63.35, 151.65°)
OKLaboklab(75.99% -0.1505 0.0749)
OKLCHoklch(75.99% 0.168 153.5)
XYZxyz(28.2588, 47.2615, 27.0312)
Luminance0.4727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF7D #CF4294
analogous
#4DCF42 #42CF7D #42CFC3
triadic
#42CF7D #7D42CF #CF7D42
tetradic
#42CF7D #424DCF #CF4294 #CFC342
square
#42CF7D #424DCF #CF4294 #CFC342
split-complementary
#42CF7D #C342CF #CF424D
monochromatic
#1F7844 #2BA960 #42CF7D #73DB9F #A4E8C0

Accessibility & contrast

On white

2.01
#42CF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#42CF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CF7D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CF7D#FFFFFF#000000##000000
##42CF7D1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE77
Deuteranopia (green-blind)
#BDB282
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42cf7d;
/* rgb */ color: rgb(66, 207, 125);
/* oklch */ color: oklch(76.0% 0.168 153.5);
Tailwind
colors: {
  custom: {
    50: '#87dfa3',
    500: '#42cf7d',
    950: '#000000',
  },
}
SCSS
$custom: #42cf7d;
$custom-light: #87dfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf7d",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 145.106,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.16812,
    "h": 153.5
  },
  "luminance": 0.47265
}

Semantic roles & 50–950 ramp

primary
#42CF7D
secondary
#D598BB
accent
#45A1E3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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