#42D254#42D254

#42D254 is a light, highly saturated green. Relative luminance 0.479; OKLCH L 76.1% C 0.207 H 145.1°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#42D254
RGBrgb(66, 210, 84)
HSLhsl(128, 62%, 54%)
HSVhsv(128, 69%, 82%)
CMYKcmyk(68.6%, 0%, 60%, 17.6%)
CIE-LABlab(74.75, -62.94, 50.47)
CIE-LCHlch(74.75, 80.68, 141.27°)
OKLaboklab(76.14% -0.1701 0.1187)
OKLCHoklch(76.14% 0.207 145.1)
XYZxyz(26.8918, 47.8886, 16.2120)
Luminance0.4789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D254 #D242C0
analogous
#78D242 #42D254 #42D29C
triadic
#42D254 #5442D2 #D25442
tetradic
#42D254 #4278D2 #D242C0 #D29C42
square
#42D254 #4278D2 #D242C0 #D29C42
split-complementary
#42D254 #9C42D2 #D24278
monochromatic
#1E7C29 #29AD3A #42D254 #73DE81 #A5EAAD

Accessibility & contrast

On white

1.99
#42D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#42D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D254
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D254#FFFFFF#000000##000000
##42D2541.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF46
Deuteranopia (green-blind)
#C4B35E
Tritanopia (blue-blind)
#0ACDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d254;
/* rgb */ color: rgb(66, 210, 84);
/* oklch */ color: oklch(76.1% 0.207 145.1);
Tailwind
colors: {
  custom: {
    50: '#89e188',
    500: '#42d254',
    950: '#000000',
  },
}
SCSS
$custom: #42d254;
$custom-light: #89e188;
$custom-dark: #000000;
JSON
{
  "hex": "#42d254",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 127.5,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.20742,
    "h": 145.1
  },
  "luminance": 0.47892
}

Semantic roles & 50–950 ramp

primary
#42D254
secondary
#D799CF
accent
#43D0E5
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #42D254

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

Preview Lab → · Contrast checker → · Palette generator →

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