#42CF7B#42CF7B

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

Color values

HEX#42CF7B
RGBrgb(66, 207, 123)
HSLhsl(144, 59%, 54%)
HSVhsv(144, 68%, 81%)
CMYKcmyk(68.1%, 0%, 40.6%, 18.8%)
CIE-LABlab(74.32, -56.11, 31.07)
CIE-LCHlch(74.32, 64.14, 151.02°)
OKLaboklab(75.95% -0.1514 0.0772)
OKLCHoklch(75.95% 0.17 153)
XYZxyz(28.1323, 47.2109, 26.3650)
Luminance0.4721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CF7B #CF4296
analogous
#4FCF42 #42CF7B #42CFC1
triadic
#42CF7B #7B42CF #CF7B42
tetradic
#42CF7B #424FCF #CF4296 #CFC142
square
#42CF7B #424FCF #CF4296 #CFC142
split-complementary
#42CF7B #C142CF #CF424F
monochromatic
#1F7843 #2BA95E #42CF7B #73DB9D #A4E8BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42CF7B#FFFFFF#000000##000000
##42CF7B1.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)
#CFBE75
Deuteranopia (green-blind)
#BDB281
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #42cf7b;
/* rgb */ color: rgb(66, 207, 123);
/* oklch */ color: oklch(76.0% 0.170 153.0);
Tailwind
colors: {
  custom: {
    50: '#87dfa2',
    500: '#42cf7b',
    950: '#000000',
  },
}
SCSS
$custom: #42cf7b;
$custom-light: #87dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#42cf7b",
  "rgb": {
    "r": 66,
    "g": 207,
    "b": 123
  },
  "hsl": {
    "h": 144.255,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75951,
    "c": 0.16995,
    "h": 153
  },
  "luminance": 0.47214
}

Semantic roles & 50–950 ramp

primary
#42CF7B
secondary
#D598BC
accent
#45A3E3
background
#F9FDFA
surface
#F1FBF3
border
#CBD4CD
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #42CF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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