#42A462#42A462

#42A462 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.4% C 0.135 H 151.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#42A462
RGBrgb(66, 164, 98)
HSLhsl(140, 43%, 45%)
HSVhsv(140, 60%, 64%)
CMYKcmyk(59.8%, 0%, 40.2%, 35.7%)
CIE-LABlab(60.42, -43.72, 25.91)
CIE-LCHlch(60.42, 50.82, 149.34°)
OKLaboklab(64.38% -0.1183 0.0644)
OKLCHoklch(64.38% 0.135 151.4)
XYZxyz(17.7255, 28.5893, 16.1371)
Luminance0.2859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A462 #A44284
analogous
#53A442 #42A462 #42A493
triadic
#42A462 #6242A4 #A46242
tetradic
#42A462 #4253A4 #A44284 #A49342
square
#42A462 #4253A4 #A44284 #A49342
split-complementary
#42A462 #9342A4 #A44253
monochromatic
#1F4D2E #307848 #42A462 #63C081 #8FD2A5

Accessibility & contrast

On white

3.13
#42A462 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#42A462 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A462
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A462#FFFFFF#000000##000000
##42A4621.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5975D
Deuteranopia (green-blind)
#978E66
Tritanopia (blue-blind)
#25A294
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a462;
/* rgb */ color: rgb(66, 164, 98);
/* oklch */ color: oklch(64.4% 0.135 151.4);
Tailwind
colors: {
  custom: {
    50: '#80c08f',
    500: '#42a462',
    950: '#000000',
  },
}
SCSS
$custom: #42a462;
$custom-light: #80c08f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a462",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 139.592,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64377,
    "c": 0.13472,
    "h": 151.4
  },
  "luminance": 0.28591
}

Semantic roles & 50–950 ramp

primary
#42A462
secondary
#BD85AB
accent
#55AAD2
background
#F8FBF8
surface
#EFF7F0
border
#CAD0CB
text
#0B120C
muted
#7C817D

Preview Lab

Preview with #42A462

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

Preview Lab → · Contrast checker → · Palette generator →

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