#42E762#42E762

#42E762 is a light, highly saturated green. Relative luminance 0.592; OKLCH L 81.7% C 0.221 H 146.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#42E762
RGBrgb(66, 231, 98)
HSLhsl(132, 77%, 58%)
HSVhsv(132, 71%, 91%)
CMYKcmyk(71.4%, 0%, 57.6%, 9.4%)
CIE-LABlab(81.39, -68.30, 51.94)
CIE-LCHlch(81.39, 85.80, 142.75°)
OKLaboklab(81.69% -0.1841 0.123)
OKLCHoklch(81.69% 0.221 146.3)
XYZxyz(33.0249, 59.1882, 21.2369)
Luminance0.5919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42E762 #E742C7
analogous
#74E742 #42E762 #42E7B4
triadic
#42E762 #6242E7 #E76242
tetradic
#42E762 #4274E7 #E742C7 #E7B442
square
#42E762 #4274E7 #E742C7 #E7B442
split-complementary
#42E762 #B442E7 #E74274
monochromatic
#149B2E #1BD13E #42E762 #78EE8F #AFF5BC

Accessibility & contrast

On white

1.64
#42E762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#42E762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42E762
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42E762#FFFFFF#000000##000000
##42E7621.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD255
Deuteranopia (green-blind)
#D7C56D
Tritanopia (blue-blind)
#00E2CA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #42e762;
/* rgb */ color: rgb(66, 231, 98);
/* oklch */ color: oklch(81.7% 0.221 146.3);
Tailwind
colors: {
  custom: {
    50: '#8df092',
    500: '#42e762',
    950: '#000000',
  },
}
SCSS
$custom: #42e762;
$custom-light: #8df092;
$custom-dark: #000000;
JSON
{
  "hex": "#42e762",
  "rgb": {
    "r": 66,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 131.636,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81688,
    "c": 0.22142,
    "h": 146.3
  },
  "luminance": 0.59192
}

Semantic roles & 50–950 ramp

primary
#42E762
secondary
#9E2F89
accent
#34CFF4
background
#FCFFFC
surface
#F5FEF4
border
#CFD6CE
text
#0E170D
muted
#7F857F

Preview Lab

Preview with #42E762

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

Preview Lab → · Contrast checker → · Palette generator →

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