#42D258#42D258

#42D258 is a light, highly saturated green. Relative luminance 0.480; OKLCH L 76.2% C 0.204 H 145.7°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#42D258
RGBrgb(66, 210, 88)
HSLhsl(129, 62%, 54%)
HSVhsv(129, 69%, 82%)
CMYKcmyk(68.6%, 0%, 58.1%, 17.6%)
CIE-LABlab(74.80, -62.46, 48.72)
CIE-LCHlch(74.80, 79.22, 142.04°)
OKLaboklab(76.19% -0.1687 0.1153)
OKLCHoklch(76.19% 0.204 145.7)
XYZxyz(27.0530, 47.9531, 17.0608)
Luminance0.4796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D258 #D242BC
analogous
#74D242 #42D258 #42D2A0
triadic
#42D258 #5842D2 #D25842
tetradic
#42D258 #4274D2 #D242BC #D2A042
square
#42D258 #4274D2 #D242BC #D2A042
split-complementary
#42D258 #A042D2 #D24274
monochromatic
#1E7C2C #29AD3E #42D258 #73DE84 #A5EAAF

Accessibility & contrast

On white

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

On black

10.59
#42D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D258
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D258#FFFFFF#000000##000000
##42D2581.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4C
Deuteranopia (green-blind)
#C4B362
Tritanopia (blue-blind)
#05CDB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d258;
/* rgb */ color: rgb(66, 210, 88);
/* oklch */ color: oklch(76.2% 0.204 145.7);
Tailwind
colors: {
  custom: {
    50: '#89e18b',
    500: '#42d258',
    950: '#000000',
  },
}
SCSS
$custom: #42d258;
$custom-light: #89e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#42d258",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 129.167,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7619,
    "c": 0.20428,
    "h": 145.7
  },
  "luminance": 0.47956
}

Semantic roles & 50–950 ramp

primary
#42D258
secondary
#D799CD
accent
#43CCE5
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150C
muted
#7E837D

Preview Lab

Preview with #42D258

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

Preview Lab → · Contrast checker → · Palette generator →

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