#42BB51#42BB51

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

Color values

HEX#42BB51
RGBrgb(66, 187, 81)
HSLhsl(127, 48%, 50%)
HSVhsv(127, 65%, 73%)
CMYKcmyk(64.7%, 0%, 56.7%, 26.7%)
CIE-LABlab(67.49, -55.23, 43.38)
CIE-LCHlch(67.49, 70.23, 141.86°)
OKLaboklab(70.13% -0.1494 0.1031)
OKLCHoklch(70.13% 0.182 145.4)
XYZxyz(21.5009, 37.2908, 13.8477)
Luminance0.3729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42BB51 #BB42AC
analogous
#70BB42 #42BB51 #42BB8E
triadic
#42BB51 #5142BB #BB5142
tetradic
#42BB51 #4270BB #BB42AC #BB8E42
square
#42BB51 #4270BB #BB42AC #BB8E42
split-complementary
#42BB51 #8E42BB #BB4270
monochromatic
#22612A #328E3D #42BB51 #6ECC7A #9CDCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42BB51#FFFFFF#000000##000000
##42BB511.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)
#BEAB47
Deuteranopia (green-blind)
#AFA059
Tritanopia (blue-blind)
#21B6A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #42bb51;
/* rgb */ color: rgb(66, 187, 81);
/* oklch */ color: oklch(70.1% 0.181 145.4);
Tailwind
colors: {
  custom: {
    50: '#84d085',
    500: '#42bb51',
    950: '#000000',
  },
}
SCSS
$custom: #42bb51;
$custom-light: #84d085;
$custom-dark: #000000;
JSON
{
  "hex": "#42bb51",
  "rgb": {
    "r": 66,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 127.438,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7013,
    "c": 0.1815,
    "h": 145.4
  },
  "luminance": 0.37293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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