#42D270#42D270

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

Color values

HEX#42D270
RGBrgb(66, 210, 112)
HSLhsl(139, 62%, 54%)
HSVhsv(139, 69%, 82%)
CMYKcmyk(68.6%, 0%, 46.7%, 17.6%)
CIE-LABlab(75.09, -59.08, 37.62)
CIE-LCHlch(75.09, 70.04, 147.51°)
OKLaboklab(76.53% -0.1591 0.092)
OKLCHoklch(76.53% 0.184 150)
XYZxyz(28.2157, 48.4182, 23.1847)
Luminance0.4842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D270 #D242A4
analogous
#5CD242 #42D270 #42D2B8
triadic
#42D270 #7042D2 #D27042
tetradic
#42D270 #425CD2 #D242A4 #D2B842
square
#42D270 #425CD2 #D242A4 #D2B842
split-complementary
#42D270 #B842D2 #D2425C
monochromatic
#1E7C3C #29AD54 #42D270 #73DE95 #A5EABB

Accessibility & contrast

On white

1.97
#42D270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#42D270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D270
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D270#FFFFFF#000000##000000
##42D2701.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d270;
/* rgb */ color: rgb(66, 210, 112);
/* oklch */ color: oklch(76.5% 0.184 150.0);
Tailwind
colors: {
  custom: {
    50: '#88e19a',
    500: '#42d270',
    950: '#000000',
  },
}
SCSS
$custom: #42d270;
$custom-light: #88e19a;
$custom-dark: #000000;
JSON
{
  "hex": "#42d270",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 139.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76527,
    "c": 0.1838,
    "h": 150
  },
  "luminance": 0.48421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42D270

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

Preview Lab → · Contrast checker → · Palette generator →

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