#42BC51#42BC51

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

Color values

HEX#42BC51
RGBrgb(66, 188, 81)
HSLhsl(127, 48%, 50%)
HSVhsv(127, 65%, 74%)
CMYKcmyk(64.9%, 0%, 56.9%, 26.3%)
CIE-LABlab(67.81, -55.60, 43.75)
CIE-LCHlch(67.81, 70.75, 141.80°)
OKLaboklab(70.39% -0.1504 0.1039)
OKLCHoklch(70.39% 0.183 145.3)
XYZxyz(21.7138, 37.7166, 13.9187)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BC51 #BC42AD
analogous
#70BC42 #42BC51 #42BC8E
triadic
#42BC51 #5142BC #BC5142
tetradic
#42BC51 #4270BC #BC42AD #BC8E42
square
#42BC51 #4270BC #BC42AD #BC8E42
split-complementary
#42BC51 #8E42BC #BC4270
monochromatic
#22612A #328F3D #42BC51 #6FCC7A #9CDCA4

Accessibility & contrast

On white

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

On black

8.54
#42BC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42BC51
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42BC51#FFFFFF#000000##000000
##42BC511.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB47
Deuteranopia (green-blind)
#B0A159
Tritanopia (blue-blind)
#21B7A4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #42bc51;
/* rgb */ color: rgb(66, 188, 81);
/* oklch */ color: oklch(70.4% 0.183 145.3);
Tailwind
colors: {
  custom: {
    50: '#85d185',
    500: '#42bc51',
    950: '#000000',
  },
}
SCSS
$custom: #42bc51;
$custom-light: #85d185;
$custom-dark: #000000;
JSON
{
  "hex": "#42bc51",
  "rgb": {
    "r": 66,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 127.377,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70391,
    "c": 0.18277,
    "h": 145.3
  },
  "luminance": 0.37719
}

Semantic roles & 50–950 ramp

primary
#42BC51
secondary
#C991C2
accent
#50C7D8
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #42BC51

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

Preview Lab → · Contrast checker → · Palette generator →

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