#42A962#42A962

#42A962 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.7% C 0.142 H 150.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#42A962
RGBrgb(66, 169, 98)
HSLhsl(139, 44%, 46%)
HSVhsv(139, 61%, 66%)
CMYKcmyk(60.9%, 0%, 42%, 33.7%)
CIE-LABlab(62.01, -45.77, 28.00)
CIE-LCHlch(62.01, 53.65, 148.54°)
OKLaboklab(65.69% -0.1237 0.0693)
OKLCHoklch(65.69% 0.142 150.7)
XYZxyz(18.6379, 30.4142, 16.4412)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A962 #A94289
analogous
#55A942 #42A962 #42A995
triadic
#42A962 #6242A9 #A96242
tetradic
#42A962 #4255A9 #A94289 #A99542
square
#42A962 #4255A9 #A94289 #A99542
split-complementary
#42A962 #9542A9 #A94255
monochromatic
#20512F #317D48 #42A962 #65C382 #91D4A6

Accessibility & contrast

On white

2.96
#42A962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#42A962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42A962
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A962#FFFFFF#000000##000000
##42A9621.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5D
Deuteranopia (green-blind)
#9C9267
Tritanopia (blue-blind)
#22A697
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #42a962;
/* rgb */ color: rgb(66, 169, 98);
/* oklch */ color: oklch(65.7% 0.142 150.7);
Tailwind
colors: {
  custom: {
    50: '#81c38f',
    500: '#42a962',
    950: '#000000',
  },
}
SCSS
$custom: #42a962;
$custom-light: #81c38f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a962",
  "rgb": {
    "r": 66,
    "g": 169,
    "b": 98
  },
  "hsl": {
    "h": 138.641,
    "s": 43.83,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65686,
    "c": 0.14182,
    "h": 150.7
  },
  "luminance": 0.30416
}

Semantic roles & 50–950 ramp

primary
#42A962
secondary
#C087AE
accent
#54ACD4
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #42A962

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

Preview Lab → · Contrast checker → · Palette generator →

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