#42B651#42B651

#42B651 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.8% C 0.175 H 145.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#42B651
RGBrgb(66, 182, 81)
HSLhsl(128, 47%, 49%)
HSVhsv(128, 64%, 71%)
CMYKcmyk(63.7%, 0%, 55.5%, 28.6%)
CIE-LABlab(65.91, -53.40, 41.49)
CIE-LCHlch(65.91, 67.63, 142.15°)
OKLaboklab(68.82% -0.1444 0.099)
OKLCHoklch(68.82% 0.175 145.6)
XYZxyz(20.4586, 35.2062, 13.5003)
Luminance0.3521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B651 #B642A7
analogous
#6DB642 #42B651 #42B68B
triadic
#42B651 #5142B6 #B65142
tetradic
#42B651 #426DB6 #B642A7 #B68B42
square
#42B651 #426DB6 #B642A7 #B68B42
split-complementary
#42B651 #8B42B6 #B6426D
monochromatic
#215C29 #32893D #42B651 #6CCA78 #99DAA1

Accessibility & contrast

On white

2.61
#42B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#42B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B651
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B651#FFFFFF#000000##000000
##42B6511.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A647
Deuteranopia (green-blind)
#AA9C59
Tritanopia (blue-blind)
#24B29F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #42b651;
/* rgb */ color: rgb(66, 182, 81);
/* oklch */ color: oklch(68.8% 0.175 145.6);
Tailwind
colors: {
  custom: {
    50: '#83cd84',
    500: '#42b651',
    950: '#000000',
  },
}
SCSS
$custom: #42b651;
$custom-light: #83cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#42b651",
  "rgb": {
    "r": 66,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 127.759,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68821,
    "c": 0.17509,
    "h": 145.6
  },
  "luminance": 0.35208
}

Semantic roles & 50–950 ramp

primary
#42B651
secondary
#C68EBF
accent
#51C5D6
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42B651

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

Preview Lab → · Contrast checker → · Palette generator →

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