#42D256#42D256

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

Color values

HEX#42D256
RGBrgb(66, 210, 86)
HSLhsl(128, 62%, 54%)
HSVhsv(128, 69%, 82%)
CMYKcmyk(68.6%, 0%, 59%, 17.6%)
CIE-LABlab(74.77, -62.70, 49.60)
CIE-LCHlch(74.77, 79.95, 141.65°)
OKLaboklab(76.17% -0.1694 0.117)
OKLCHoklch(76.17% 0.206 145.4)
XYZxyz(26.9713, 47.9204, 16.6304)
Luminance0.4792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D256 #D242BE
analogous
#76D242 #42D256 #42D29E
triadic
#42D256 #5642D2 #D25642
tetradic
#42D256 #4276D2 #D242BE #D29E42
square
#42D256 #4276D2 #D242BE #D29E42
split-complementary
#42D256 #9E42D2 #D24276
monochromatic
#1E7C2B #29AD3C #42D256 #73DE82 #A5EAAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D256#FFFFFF#000000##000000
##42D2561.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)
#D5BF49
Deuteranopia (green-blind)
#C4B360
Tritanopia (blue-blind)
#08CDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d256;
/* rgb */ color: rgb(66, 210, 86);
/* oklch */ color: oklch(76.2% 0.206 145.4);
Tailwind
colors: {
  custom: {
    50: '#89e189',
    500: '#42d256',
    950: '#000000',
  },
}
SCSS
$custom: #42d256;
$custom-light: #89e189;
$custom-dark: #000000;
JSON
{
  "hex": "#42d256",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 128.333,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.20586,
    "h": 145.4
  },
  "luminance": 0.47923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42D256

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

Preview Lab → · Contrast checker → · Palette generator →

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