#42B960#42B960

#42B960 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.8% C 0.166 H 148.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#42B960
RGBrgb(66, 185, 96)
HSLhsl(135, 47%, 49%)
HSVhsv(135, 64%, 73%)
CMYKcmyk(64.3%, 0%, 48.1%, 27.5%)
CIE-LABlab(67.05, -52.36, 35.49)
CIE-LCHlch(67.05, 63.25, 145.87°)
OKLaboklab(69.82% -0.1413 0.0865)
OKLCHoklch(69.82% 0.166 148.5)
XYZxyz(21.7055, 36.6985, 17.0037)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B960 #B9429B
analogous
#60B942 #42B960 #42B99C
triadic
#42B960 #6042B9 #B96042
tetradic
#42B960 #4260B9 #B9429B #B99C42
square
#42B960 #4260B9 #B9429B #B99C42
split-complementary
#42B960 #9C42B9 #B94260
monochromatic
#225F31 #328C49 #42B960 #6DCB85 #9ADBAB

Accessibility & contrast

On white

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

On black

8.34
#42B960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B960
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B960#FFFFFF#000000##000000
##42B9601.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA959
Deuteranopia (green-blind)
#AC9F66
Tritanopia (blue-blind)
#1AB5A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #42b960;
/* rgb */ color: rgb(66, 185, 96);
/* oklch */ color: oklch(69.8% 0.166 148.5);
Tailwind
colors: {
  custom: {
    50: '#83cf8f',
    500: '#42b960',
    950: '#000000',
  },
}
SCSS
$custom: #42b960;
$custom-light: #83cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#42b960",
  "rgb": {
    "r": 66,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 135.126,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.16563,
    "h": 148.5
  },
  "luminance": 0.36701
}

Semantic roles & 50–950 ramp

primary
#42B960
secondary
#C790B9
accent
#51B5D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42B960

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

Preview Lab → · Contrast checker → · Palette generator →

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