#42D271#42D271

#42D271 is a light, vivid green. Relative luminance 0.484; OKLCH L 76.5% C 0.183 H 150.2°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#42D271
RGBrgb(66, 210, 113)
HSLhsl(140, 62%, 54%)
HSVhsv(140, 69%, 82%)
CMYKcmyk(68.6%, 0%, 46.2%, 17.6%)
CIE-LABlab(75.10, -58.92, 37.14)
CIE-LCHlch(75.10, 69.64, 147.77°)
OKLaboklab(76.54% -0.1587 0.0909)
OKLCHoklch(76.54% 0.183 150.2)
XYZxyz(28.2717, 48.4406, 23.4796)
Luminance0.4844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D271 #D242A3
analogous
#5BD242 #42D271 #42D2B9
triadic
#42D271 #7142D2 #D27142
tetradic
#42D271 #425BD2 #D242A3 #D2B942
square
#42D271 #425BD2 #D242A3 #D2B942
split-complementary
#42D271 #B942D2 #D2425B
monochromatic
#1E7C3C #29AD54 #42D271 #73DE96 #A5EABB

Accessibility & contrast

On white

1.96
#42D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#42D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D271
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D271#FFFFFF#000000##000000
##42D2711.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C069
Deuteranopia (green-blind)
#C2B478
Tritanopia (blue-blind)
#00CEBB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #42d271;
/* rgb */ color: rgb(66, 210, 113);
/* oklch */ color: oklch(76.5% 0.183 150.2);
Tailwind
colors: {
  custom: {
    50: '#88e19b',
    500: '#42d271',
    950: '#000000',
  },
}
SCSS
$custom: #42d271;
$custom-light: #88e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#42d271",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 139.583,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76543,
    "c": 0.1829,
    "h": 150.2
  },
  "luminance": 0.48444
}

Semantic roles & 50–950 ramp

primary
#42D271
secondary
#D799C3
accent
#43B0E5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150E
muted
#7E837E

Preview Lab

Preview with #42D271

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

Preview Lab → · Contrast checker → · Palette generator →

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