#42D941#42D941

#42D941 is a light, highly saturated green. Relative luminance 0.512; OKLCH L 77.8% C 0.229 H 142.9°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#42D941
RGBrgb(66, 217, 65)
HSLhsl(120, 67%, 55%)
HSVhsv(120, 70%, 85%)
CMYKcmyk(69.6%, 0%, 70%, 14.9%)
CIE-LABlab(76.78, -67.16, 60.48)
CIE-LCHlch(76.78, 90.38, 138.00°)
OKLaboklab(77.77% -0.1824 0.1379)
OKLCHoklch(77.77% 0.229 142.9)
XYZxyz(28.0121, 51.1626, 13.3991)
Luminance0.5117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D941 #D841D9
analogous
#8ED941 #42D941 #41D98C
triadic
#42D941 #4142D9 #D94142
tetradic
#42D941 #418ED9 #D841D9 #D98C41
square
#42D941 #418ED9 #D841D9 #D98C41
split-complementary
#42D941 #8C41D9 #D9418E
monochromatic
#1B851B #26B825 #42D941 #75E374 #A7EDA7

Accessibility & contrast

On white

1.87
#42D941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#42D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D941
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D941#FFFFFF#000000##000000
##42D9411.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#11D3BB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #42d941;
/* rgb */ color: rgb(66, 217, 65);
/* oklch */ color: oklch(77.8% 0.229 142.9);
Tailwind
colors: {
  custom: {
    50: '#8be67e',
    500: '#42d941',
    950: '#000000',
  },
}
SCSS
$custom: #42d941;
$custom-light: #8be67e;
$custom-dark: #000000;
JSON
{
  "hex": "#42d941",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 119.605,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77768,
    "c": 0.22867,
    "h": 142.9
  },
  "luminance": 0.51166
}

Semantic roles & 50–950 ramp

primary
#42D941
secondary
#8B338B
accent
#3EEAE8
background
#FCFEFB
surface
#F5FDF2
border
#CFD5CC
text
#0E160A
muted
#7F847D

Preview Lab

Preview with #42D941

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

Preview Lab → · Contrast checker → · Palette generator →

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