#42D242#42D242

#42D242 is a light, highly saturated green. Relative luminance 0.476; OKLCH L 76.0% C 0.220 H 143.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#42D242
RGBrgb(66, 210, 66)
HSLhsl(120, 62%, 54%)
HSVhsv(120, 69%, 82%)
CMYKcmyk(68.6%, 0%, 68.6%, 17.6%)
CIE-LABlab(74.60, -64.80, 57.81)
CIE-LCHlch(74.60, 86.84, 138.26°)
OKLaboklab(75.96% -0.1759 0.1325)
OKLCHoklch(75.96% 0.22 143)
XYZxyz(26.2752, 47.6420, 12.9643)
Luminance0.4764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D242 #D242D2
analogous
#8AD242 #42D242 #42D28A
triadic
#42D242 #4242D2 #D24242
tetradic
#42D242 #428AD2 #D242D2 #D28A42
square
#42D242 #428AD2 #D242D2 #D28A42
split-complementary
#42D242 #8A42D2 #D2428A
monochromatic
#1E7C1E #29AD29 #42D242 #73DE73 #A5EAA5

Accessibility & contrast

On white

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

On black

10.53
#42D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D242
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D242#FFFFFF#000000##000000
##42D2421.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF2D
Deuteranopia (green-blind)
#C6B350
Tritanopia (blue-blind)
#18CCB5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d242;
/* rgb */ color: rgb(66, 210, 66);
/* oklch */ color: oklch(76.0% 0.220 143.0);
Tailwind
colors: {
  custom: {
    50: '#8ae17e',
    500: '#42d242',
    950: '#000000',
  },
}
SCSS
$custom: #42d242;
$custom-light: #8ae17e;
$custom-dark: #000000;
JSON
{
  "hex": "#42d242",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 120,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75964,
    "c": 0.22022,
    "h": 143
  },
  "luminance": 0.47645
}

Semantic roles & 50–950 ramp

primary
#42D242
secondary
#D799D7
accent
#43E5E5
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42D242

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

Preview Lab → · Contrast checker → · Palette generator →

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