#42D248#42D248

#42D248 is a light, highly saturated green. Relative luminance 0.477; OKLCH L 76.0% C 0.216 H 143.6°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#42D248
RGBrgb(66, 210, 72)
HSLhsl(123, 62%, 54%)
HSVhsv(123, 69%, 82%)
CMYKcmyk(68.6%, 0%, 65.7%, 17.6%)
CIE-LABlab(74.65, -64.23, 55.47)
CIE-LCHlch(74.65, 84.87, 139.18°)
OKLaboklab(76.02% -0.1741 0.1282)
OKLCHoklch(76.02% 0.216 143.6)
XYZxyz(26.4614, 47.7165, 13.9453)
Luminance0.4772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D248 #D242CC
analogous
#84D242 #42D248 #42D290
triadic
#42D248 #4842D2 #D24842
tetradic
#42D248 #4284D2 #D242CC #D29042
square
#42D248 #4284D2 #D242CC #D29042
split-complementary
#42D248 #9042D2 #D24284
monochromatic
#1E7C21 #29AD2F #42D248 #73DE78 #A5EAA8

Accessibility & contrast

On white

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

On black

10.54
#42D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D248
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D248#FFFFFF#000000##000000
##42D2481.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF36
Deuteranopia (green-blind)
#C5B355
Tritanopia (blue-blind)
#15CCB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d248;
/* rgb */ color: rgb(66, 210, 72);
/* oklch */ color: oklch(76.0% 0.216 143.6);
Tailwind
colors: {
  custom: {
    50: '#89e181',
    500: '#42d248',
    950: '#000000',
  },
}
SCSS
$custom: #42d248;
$custom-light: #89e181;
$custom-dark: #000000;
JSON
{
  "hex": "#42d248",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 122.5,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76018,
    "c": 0.21622,
    "h": 143.6
  },
  "luminance": 0.47719
}

Semantic roles & 50–950 ramp

primary
#42D248
secondary
#D799D4
accent
#43DEE5
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #42D248

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

Preview Lab → · Contrast checker → · Palette generator →

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