#42BB5B#42BB5B

#42BB5B is a light, vivid green. Relative luminance 0.375; OKLCH L 70.3% C 0.173 H 147.3°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#42BB5B
RGBrgb(66, 187, 91)
HSLhsl(132, 48%, 50%)
HSVhsv(132, 65%, 73%)
CMYKcmyk(64.7%, 0%, 51.3%, 26.7%)
CIE-LABlab(67.61, -53.86, 38.69)
CIE-LCHlch(67.61, 66.32, 144.31°)
OKLaboklab(70.27% -0.1454 0.0934)
OKLCHoklch(70.27% 0.173 147.3)
XYZxyz(21.9039, 37.4520, 15.9701)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BB5B #BB42A2
analogous
#65BB42 #42BB5B #42BB98
triadic
#42BB5B #5B42BB #BB5B42
tetradic
#42BB5B #4265BB #BB42A2 #BB9842
square
#42BB5B #4265BB #BB42A2 #BB9842
split-complementary
#42BB5B #9842BB #BB4265
monochromatic
#22612F #328E45 #42BB5B #6ECC82 #9CDCA9

Accessibility & contrast

On white

2.47
#42BB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#42BB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BB5B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BB5B#FFFFFF#000000##000000
##42BB5B1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB53
Deuteranopia (green-blind)
#AEA162
Tritanopia (blue-blind)
#1CB7A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42bb5b;
/* rgb */ color: rgb(66, 187, 91);
/* oklch */ color: oklch(70.3% 0.173 147.3);
Tailwind
colors: {
  custom: {
    50: '#84d08b',
    500: '#42bb5b',
    950: '#000000',
  },
}
SCSS
$custom: #42bb5b;
$custom-light: #84d08b;
$custom-dark: #000000;
JSON
{
  "hex": "#42bb5b",
  "rgb": {
    "r": 66,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 132.397,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70268,
    "c": 0.17281,
    "h": 147.3
  },
  "luminance": 0.37454
}

Semantic roles & 50–950 ramp

primary
#42BB5B
secondary
#C891BD
accent
#50BCD7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D

Preview Lab

Preview with #42BB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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