#42D27F#42D27F

#42D27F is a light, vivid green. Relative luminance 0.488; OKLCH L 76.8% C 0.170 H 153.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#42D27F
RGBrgb(66, 210, 127)
HSLhsl(145, 62%, 54%)
HSVhsv(145, 69%, 82%)
CMYKcmyk(68.6%, 0%, 39.5%, 17.6%)
CIE-LABlab(75.31, -56.52, 30.32)
CIE-LCHlch(75.31, 64.14, 151.79°)
OKLaboklab(76.79% -0.1526 0.0755)
OKLCHoklch(76.79% 0.17 153.7)
XYZxyz(29.1216, 48.7805, 27.9554)
Luminance0.4878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D27F #D24295
analogous
#4DD242 #42D27F #42D2C7
triadic
#42D27F #7F42D2 #D27F42
tetradic
#42D27F #424DD2 #D24295 #D2C742
square
#42D27F #424DD2 #D24295 #D2C742
split-complementary
#42D27F #C742D2 #D2424D
monochromatic
#1E7C46 #29AD61 #42D27F #73DEA0 #A5EAC2

Accessibility & contrast

On white

1.95
#42D27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#42D27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D27F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D27F#FFFFFF#000000##000000
##42D27F1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C179
Deuteranopia (green-blind)
#C0B485
Tritanopia (blue-blind)
#00CFBD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #42d27f;
/* rgb */ color: rgb(66, 210, 127);
/* oklch */ color: oklch(76.8% 0.170 153.7);
Tailwind
colors: {
  custom: {
    50: '#88e1a5',
    500: '#42d27f',
    950: '#000000',
  },
}
SCSS
$custom: #42d27f;
$custom-light: #88e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#42d27f",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 127
  },
  "hsl": {
    "h": 145.417,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76788,
    "c": 0.17023,
    "h": 153.7
  },
  "luminance": 0.48784
}

Semantic roles & 50–950 ramp

primary
#42D27F
secondary
#D799BD
accent
#43A0E5
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #42D27F

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

Preview Lab → · Contrast checker → · Palette generator →

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