#42CF7A#42CF7A

#42CF7A is a light, vivid green. Relative luminance 0.472; OKLCH L 75.9% C 0.171 H 152.7°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#42CF7A
RGBrgb(66, 207, 122)
HSLhsl(144, 59%, 54%)
HSVhsv(144, 68%, 81%)
CMYKcmyk(68.1%, 0%, 41.1%, 18.8%)
CIE-LABlab(74.31, -56.29, 31.57)
CIE-LCHlch(74.31, 64.54, 150.72°)
OKLaboklab(75.93% -0.1519 0.0783)
OKLCHoklch(75.93% 0.171 152.7)
XYZxyz(28.0700, 47.1860, 26.0371)
Luminance0.4719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF7A #CF4297
analogous
#50CF42 #42CF7A #42CFC1
triadic
#42CF7A #7A42CF #CF7A42
tetradic
#42CF7A #4250CF #CF4297 #CFC142
square
#42CF7A #4250CF #CF4297 #CFC142
split-complementary
#42CF7A #C142CF #CF4250
monochromatic
#1F7842 #2BA95D #42CF7A #73DB9C #A4E8BF

Accessibility & contrast

On white

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

On black

10.44
#42CF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CF7A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CF7A#FFFFFF#000000##000000
##42CF7A1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42cf7a;
/* rgb */ color: rgb(66, 207, 122);
/* oklch */ color: oklch(75.9% 0.171 152.7);
Tailwind
colors: {
  custom: {
    50: '#87dfa1',
    500: '#42cf7a',
    950: '#000000',
  },
}
SCSS
$custom: #42cf7a;
$custom-light: #87dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf7a",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 143.83,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75933,
    "c": 0.17085,
    "h": 152.7
  },
  "luminance": 0.47189
}

Semantic roles & 50–950 ramp

primary
#42CF7A
secondary
#D598BD
accent
#45A4E3
background
#F9FDFA
surface
#F1FBF3
border
#CBD4CD
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #42CF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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