#42D279#42D279

#42D279 is a light, vivid green. Relative luminance 0.486; OKLCH L 76.7% C 0.176 H 152.1°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#42D279
RGBrgb(66, 210, 121)
HSLhsl(143, 62%, 54%)
HSVhsv(143, 69%, 82%)
CMYKcmyk(68.6%, 0%, 42.4%, 17.6%)
CIE-LABlab(75.22, -57.58, 33.26)
CIE-LCHlch(75.22, 66.50, 149.99°)
OKLaboklab(76.68% -0.1552 0.0822)
OKLCHoklch(76.68% 0.176 152.1)
XYZxyz(28.7421, 48.6288, 25.9570)
Luminance0.4863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D279 #D2429B
analogous
#53D242 #42D279 #42D2C1
triadic
#42D279 #7942D2 #D27942
tetradic
#42D279 #4253D2 #D2429B #D2C142
square
#42D279 #4253D2 #D2429B #D2C142
split-complementary
#42D279 #C142D2 #D24253
monochromatic
#1E7C42 #29AD5C #42D279 #73DE9C #A5EABF

Accessibility & contrast

On white

1.96
#42D279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#42D279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D279
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D279#FFFFFF#000000##000000
##42D2791.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C173
Deuteranopia (green-blind)
#C1B47F
Tritanopia (blue-blind)
#00CFBC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #42d279;
/* rgb */ color: rgb(66, 210, 121);
/* oklch */ color: oklch(76.7% 0.176 152.1);
Tailwind
colors: {
  custom: {
    50: '#88e1a0',
    500: '#42d279',
    950: '#000000',
  },
}
SCSS
$custom: #42d279;
$custom-light: #88e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42d279",
  "rgb": {
    "r": 66,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 142.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76679,
    "c": 0.17568,
    "h": 152.1
  },
  "luminance": 0.48632
}

Semantic roles & 50–950 ramp

primary
#42D279
secondary
#D799BF
accent
#43A7E5
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150F
muted
#7E837E

Preview Lab

Preview with #42D279

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

Preview Lab → · Contrast checker → · Palette generator →

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