#42CF7C#42CF7C

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

Color values

HEX#42CF7C
RGBrgb(66, 207, 124)
HSLhsl(145, 59%, 54%)
HSVhsv(145, 68%, 81%)
CMYKcmyk(68.1%, 0%, 40.1%, 18.8%)
CIE-LABlab(74.34, -55.93, 30.58)
CIE-LCHlch(74.34, 63.75, 151.33°)
OKLaboklab(75.97% -0.151 0.076)
OKLCHoklch(75.97% 0.169 153.3)
XYZxyz(28.1952, 47.2360, 26.6964)
Luminance0.4724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF7C #CF4295
analogous
#4ECF42 #42CF7C #42CFC3
triadic
#42CF7C #7C42CF #CF7C42
tetradic
#42CF7C #424ECF #CF4295 #CFC342
square
#42CF7C #424ECF #CF4295 #CFC342
split-complementary
#42CF7C #C342CF #CF424E
monochromatic
#1F7843 #2BA95F #42CF7C #73DB9E #A4E8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42CF7C#FFFFFF#000000##000000
##42CF7C1.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)
#CFBE76
Deuteranopia (green-blind)
#BDB282
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42cf7c;
/* rgb */ color: rgb(66, 207, 124);
/* oklch */ color: oklch(76.0% 0.169 153.3);
Tailwind
colors: {
  custom: {
    50: '#87dfa2',
    500: '#42cf7c',
    950: '#000000',
  },
}
SCSS
$custom: #42cf7c;
$custom-light: #87dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf7c",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 124
  },
  "hsl": {
    "h": 144.681,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7597,
    "c": 0.16903,
    "h": 153.3
  },
  "luminance": 0.47239
}

Semantic roles & 50–950 ramp

primary
#42CF7C
secondary
#D598BC
accent
#45A2E3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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