#42B752#42B752

#42B752 is a light, vivid green. Relative luminance 0.356; OKLCH L 69.1% C 0.176 H 145.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#42B752
RGBrgb(66, 183, 82)
HSLhsl(128, 47%, 49%)
HSVhsv(128, 64%, 72%)
CMYKcmyk(63.9%, 0%, 55.2%, 28.2%)
CIE-LABlab(66.24, -53.64, 41.41)
CIE-LCHlch(66.24, 67.76, 142.33°)
OKLaboklab(69.1% -0.145 0.0989)
OKLCHoklch(69.1% 0.176 145.7)
XYZxyz(20.7019, 35.6323, 13.7678)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B752 #B742A7
analogous
#6DB742 #42B752 #42B78D
triadic
#42B752 #5242B7 #B75242
tetradic
#42B752 #426DB7 #B742A7 #B78D42
square
#42B752 #426DB7 #B742A7 #B78D42
split-complementary
#42B752 #8D42B7 #B7426D
monochromatic
#225D2A #328A3E #42B752 #6CCA79 #99DAA2

Accessibility & contrast

On white

2.58
#42B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#42B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B752
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B752#FFFFFF#000000##000000
##42B7521.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA749
Deuteranopia (green-blind)
#AB9D5A
Tritanopia (blue-blind)
#23B3A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #42b752;
/* rgb */ color: rgb(66, 183, 82);
/* oklch */ color: oklch(69.1% 0.176 145.7);
Tailwind
colors: {
  custom: {
    50: '#84ce85',
    500: '#42b752',
    950: '#000000',
  },
}
SCSS
$custom: #42b752;
$custom-light: #84ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#42b752",
  "rgb": {
    "r": 66,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 128.205,
    "s": 46.988,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69096,
    "c": 0.17552,
    "h": 145.7
  },
  "luminance": 0.35634
}

Semantic roles & 50–950 ramp

primary
#42B752
secondary
#C68FBF
accent
#51C4D7
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0C140B
muted
#7D827C

Preview Lab

Preview with #42B752

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

Preview Lab → · Contrast checker → · Palette generator →

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