#42B962#42B962

#42B962 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.9% C 0.164 H 149.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#42B962
RGBrgb(66, 185, 98)
HSLhsl(136, 47%, 49%)
HSVhsv(136, 64%, 73%)
CMYKcmyk(64.3%, 0%, 47%, 27.5%)
CIE-LABlab(67.08, -52.04, 34.51)
CIE-LCHlch(67.08, 62.44, 146.45°)
OKLaboklab(69.86% -0.1404 0.0843)
OKLCHoklch(69.86% 0.164 149)
XYZxyz(21.7987, 36.7358, 17.4948)
Luminance0.3674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B962 #B94299
analogous
#5EB942 #42B962 #42B99D
triadic
#42B962 #6242B9 #B96242
tetradic
#42B962 #425EB9 #B94299 #B99D42
square
#42B962 #425EB9 #B94299 #B99D42
split-complementary
#42B962 #9D42B9 #B9425E
monochromatic
#225F32 #328C4A #42B962 #6DCB86 #9ADBAC

Accessibility & contrast

On white

2.52
#42B962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#42B962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B962
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B962#FFFFFF#000000##000000
##42B9621.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAA5B
Deuteranopia (green-blind)
#AB9F68
Tritanopia (blue-blind)
#18B6A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b962;
/* rgb */ color: rgb(66, 185, 98);
/* oklch */ color: oklch(69.9% 0.164 149.0);
Tailwind
colors: {
  custom: {
    50: '#83cf90',
    500: '#42b962',
    950: '#000000',
  },
}
SCSS
$custom: #42b962;
$custom-light: #83cf90;
$custom-dark: #000000;
JSON
{
  "hex": "#42b962",
  "rgb": {
    "r": 66,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 136.134,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69857,
    "c": 0.16379,
    "h": 149
  },
  "luminance": 0.36738
}

Semantic roles & 50–950 ramp

primary
#42B962
secondary
#C790B8
accent
#51B3D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42B962

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

Preview Lab → · Contrast checker → · Palette generator →

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