#42BB52#42BB52

#42BB52 is a light, vivid green. Relative luminance 0.373; OKLCH L 70.1% C 0.181 H 145.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#42BB52
RGBrgb(66, 187, 82)
HSLhsl(128, 48%, 50%)
HSVhsv(128, 65%, 73%)
CMYKcmyk(64.7%, 0%, 56.1%, 26.7%)
CIE-LABlab(67.51, -55.10, 42.92)
CIE-LCHlch(67.51, 69.85, 142.09°)
OKLaboklab(70.14% -0.149 0.1022)
OKLCHoklch(70.14% 0.181 145.6)
XYZxyz(21.5387, 37.3059, 14.0467)
Luminance0.3731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BB52 #BB42AB
analogous
#6FBB42 #42BB52 #42BB8F
triadic
#42BB52 #5242BB #BB5242
tetradic
#42BB52 #426FBB #BB42AB #BB8F42
square
#42BB52 #426FBB #BB42AB #BB8F42
split-complementary
#42BB52 #8F42BB #BB426F
monochromatic
#22612A #328E3E #42BB52 #6ECC7B #9CDCA4

Accessibility & contrast

On white

2.48
#42BB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#42BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BB52
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BB52#FFFFFF#000000##000000
##42BB521.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#AFA05A
Tritanopia (blue-blind)
#21B7A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42bb52;
/* rgb */ color: rgb(66, 187, 82);
/* oklch */ color: oklch(70.1% 0.181 145.6);
Tailwind
colors: {
  custom: {
    50: '#84d085',
    500: '#42bb52',
    950: '#000000',
  },
}
SCSS
$custom: #42bb52;
$custom-light: #84d085;
$custom-dark: #000000;
JSON
{
  "hex": "#42bb52",
  "rgb": {
    "r": 66,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 127.934,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70143,
    "c": 0.18066,
    "h": 145.6
  },
  "luminance": 0.37308
}

Semantic roles & 50–950 ramp

primary
#42BB52
secondary
#C891C1
accent
#50C6D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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