#42CF7F#42CF7F

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

Color values

HEX#42CF7F
RGBrgb(66, 207, 127)
HSLhsl(146, 59%, 54%)
HSVhsv(146, 68%, 81%)
CMYKcmyk(68.1%, 0%, 38.6%, 18.8%)
CIE-LABlab(74.39, -55.39, 29.10)
CIE-LCHlch(74.39, 62.57, 152.28°)
OKLaboklab(76.03% -0.1496 0.0726)
OKLCHoklch(76.03% 0.166 154.1)
XYZxyz(28.3878, 47.3131, 27.7108)
Luminance0.4732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF7F #CF4292
analogous
#4BCF42 #42CF7F #42CFC5
triadic
#42CF7F #7F42CF #CF7F42
tetradic
#42CF7F #424BCF #CF4292 #CFC542
square
#42CF7F #424BCF #CF4292 #CFC542
split-complementary
#42CF7F #C542CF #CF424B
monochromatic
#1F7845 #2BA961 #42CF7F #73DBA0 #A4E8C1

Accessibility & contrast

On white

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

On black

10.46
#42CF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CF7F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CF7F#FFFFFF#000000##000000
##42CF7F1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE7A
Deuteranopia (green-blind)
#BDB284
Tritanopia (blue-blind)
#00CDBB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42cf7f;
/* rgb */ color: rgb(66, 207, 127);
/* oklch */ color: oklch(76.0% 0.166 154.1);
Tailwind
colors: {
  custom: {
    50: '#87dfa5',
    500: '#42cf7f',
    950: '#000000',
  },
}
SCSS
$custom: #42cf7f;
$custom-light: #87dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf7f",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 145.957,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76026,
    "c": 0.1663,
    "h": 154.1
  },
  "luminance": 0.47316
}

Semantic roles & 50–950 ramp

primary
#42CF7F
secondary
#D598BA
accent
#459FE3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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