#42D255#42D255

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

Color values

HEX#42D255
RGBrgb(66, 210, 85)
HSLhsl(128, 62%, 54%)
HSVhsv(128, 69%, 82%)
CMYKcmyk(68.6%, 0%, 59.5%, 17.6%)
CIE-LABlab(74.76, -62.82, 50.04)
CIE-LCHlch(74.76, 80.31, 141.46°)
OKLaboklab(76.16% -0.1698 0.1179)
OKLCHoklch(76.16% 0.207 145.2)
XYZxyz(26.9313, 47.9044, 16.4197)
Luminance0.4791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D255 #D242BF
analogous
#77D242 #42D255 #42D29D
triadic
#42D255 #5542D2 #D25542
tetradic
#42D255 #4277D2 #D242BF #D29D42
square
#42D255 #4277D2 #D242BF #D29D42
split-complementary
#42D255 #9D42D2 #D24277
monochromatic
#1E7C2A #29AD3B #42D255 #73DE81 #A5EAAE

Accessibility & contrast

On white

1.98
#42D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D255#FFFFFF#000000##000000
##42D2551.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF48
Deuteranopia (green-blind)
#C4B35F
Tritanopia (blue-blind)
#09CDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d255;
/* rgb */ color: rgb(66, 210, 85);
/* oklch */ color: oklch(76.2% 0.207 145.2);
Tailwind
colors: {
  custom: {
    50: '#89e189',
    500: '#42d255',
    950: '#000000',
  },
}
SCSS
$custom: #42d255;
$custom-light: #89e189;
$custom-dark: #000000;
JSON
{
  "hex": "#42d255",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 127.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76155,
    "c": 0.20665,
    "h": 145.2
  },
  "luminance": 0.47907
}

Semantic roles & 50–950 ramp

primary
#42D255
secondary
#D799CE
accent
#43CFE5
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #42D255

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

Preview Lab → · Contrast checker → · Palette generator →

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