#42D738#42D738

#42D738 is a light, highly saturated green. Relative luminance 0.500; OKLCH L 77.2% C 0.232 H 142.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#42D738
RGBrgb(66, 215, 56)
HSLhsl(116, 67%, 53%)
HSVhsv(116, 74%, 84%)
CMYKcmyk(69.3%, 0%, 74%, 15.7%)
CIE-LABlab(76.09, -67.23, 62.99)
CIE-LCHlch(76.09, 92.13, 136.86°)
OKLaboklab(77.18% -0.183 0.1421)
OKLCHoklch(77.18% 0.232 142.2)
XYZxyz(27.2595, 50.0417, 11.9630)
Luminance0.5004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D738 #CD38D7
analogous
#92D738 #42D738 #38D77D
triadic
#42D738 #3842D7 #D73842
tetradic
#42D738 #3892D7 #CD38D7 #D77D38
square
#42D738 #3892D7 #CD38D7 #D77D38
split-complementary
#42D738 #7D38D7 #D73892
monochromatic
#1F7C19 #2CAF23 #42D738 #72E16B #A3EB9E

Accessibility & contrast

On white

1.91
#42D738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#42D738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D738
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D738#FFFFFF#000000##000000
##42D7381.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC317
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#18D0B8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #42d738;
/* rgb */ color: rgb(66, 215, 56);
/* oklch */ color: oklch(77.2% 0.232 142.2);
Tailwind
colors: {
  custom: {
    50: '#8be579',
    500: '#42d738',
    950: '#000000',
  },
}
SCSS
$custom: #42d738;
$custom-light: #8be579;
$custom-dark: #000000;
JSON
{
  "hex": "#42d738",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 56
  },
  "hsl": {
    "h": 116.226,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77183,
    "c": 0.23167,
    "h": 142.2
  },
  "luminance": 0.50045
}

Semantic roles & 50–950 ramp

primary
#42D738
secondary
#7E3083
accent
#3EE9DF
background
#FCFEFB
surface
#F5FCF2
border
#CFD5CC
text
#0E160A
muted
#7F847D

Preview Lab

Preview with #42D738

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

Preview Lab → · Contrast checker → · Palette generator →

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