#42BC52#42BC52

#42BC52 is a light, vivid green. Relative luminance 0.377; OKLCH L 70.4% C 0.182 H 145.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#42BC52
RGBrgb(66, 188, 82)
HSLhsl(128, 48%, 50%)
HSVhsv(128, 65%, 74%)
CMYKcmyk(64.9%, 0%, 56.4%, 26.3%)
CIE-LABlab(67.82, -55.47, 43.29)
CIE-LCHlch(67.82, 70.36, 142.03°)
OKLaboklab(70.4% -0.15 0.103)
OKLCHoklch(70.4% 0.182 145.5)
XYZxyz(21.7516, 37.7317, 14.1176)
Luminance0.3773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC52 #BC42AC
analogous
#6FBC42 #42BC52 #42BC8F
triadic
#42BC52 #5242BC #BC5242
tetradic
#42BC52 #426FBC #BC42AC #BC8F42
square
#42BC52 #426FBC #BC42AC #BC8F42
split-complementary
#42BC52 #8F42BC #BC426F
monochromatic
#22612A #328F3E #42BC52 #6FCC7B #9CDCA5

Accessibility & contrast

On white

2.46
#42BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#42BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BC52
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BC52#FFFFFF#000000##000000
##42BC521.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC48
Deuteranopia (green-blind)
#B0A15A
Tritanopia (blue-blind)
#20B7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42bc52;
/* rgb */ color: rgb(66, 188, 82);
/* oklch */ color: oklch(70.4% 0.182 145.5);
Tailwind
colors: {
  custom: {
    50: '#85d185',
    500: '#42bc52',
    950: '#000000',
  },
}
SCSS
$custom: #42bc52;
$custom-light: #85d185;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc52",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 127.869,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70404,
    "c": 0.18193,
    "h": 145.5
  },
  "luminance": 0.37734
}

Semantic roles & 50–950 ramp

primary
#42BC52
secondary
#C991C1
accent
#50C6D8
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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