#42BF52#42BF52

#42BF52 is a light, vivid green. Relative luminance 0.390; OKLCH L 71.2% C 0.186 H 145.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#42BF52
RGBrgb(66, 191, 82)
HSLhsl(128, 49%, 50%)
HSVhsv(128, 65%, 75%)
CMYKcmyk(65.4%, 0%, 57.1%, 25.1%)
CIE-LABlab(68.77, -56.55, 44.42)
CIE-LCHlch(68.77, 71.91, 141.85°)
OKLaboklab(71.19% -0.1529 0.1054)
OKLCHoklch(71.19% 0.186 145.4)
XYZxyz(22.3991, 39.0267, 14.3335)
Luminance0.3903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BF52 #BF42AF
analogous
#70BF42 #42BF52 #42BF90
triadic
#42BF52 #5242BF #BF5242
tetradic
#42BF52 #4270BF #BF42AF #BF9042
square
#42BF52 #4270BF #BF42AF #BF9042
split-complementary
#42BF52 #9042BF #BF4270
monochromatic
#22652B #32923E #42BF52 #70CE7C #9DDEA6

Accessibility & contrast

On white

2.38
#42BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#42BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BF52
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BF52#FFFFFF#000000##000000
##42BF521.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#B3A45B
Tritanopia (blue-blind)
#1EBAA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #42bf52;
/* rgb */ color: rgb(66, 191, 82);
/* oklch */ color: oklch(71.2% 0.186 145.4);
Tailwind
colors: {
  custom: {
    50: '#85d386',
    500: '#42bf52',
    950: '#000000',
  },
}
SCSS
$custom: #42bf52;
$custom-light: #85d386;
$custom-dark: #000000;
JSON
{
  "hex": "#42bf52",
  "rgb": {
    "r": 66,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 127.68,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71188,
    "c": 0.18572,
    "h": 145.4
  },
  "luminance": 0.39029
}

Semantic roles & 50–950 ramp

primary
#42BF52
secondary
#CA93C3
accent
#4FC7D9
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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