#42AC52#42AC52

#42AC52 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.2% C 0.161 H 146.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#42AC52
RGBrgb(66, 172, 82)
HSLhsl(129, 45%, 47%)
HSVhsv(129, 62%, 67%)
CMYKcmyk(61.6%, 0%, 52.3%, 32.5%)
CIE-LABlab(62.74, -49.50, 37.17)
CIE-LCHlch(62.74, 61.90, 143.10°)
OKLaboklab(66.21% -0.1339 0.0895)
OKLCHoklch(66.21% 0.161 146.2)
XYZxyz(18.5211, 31.2707, 13.0408)
Luminance0.3127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC52 #AC429C
analogous
#67AC42 #42AC52 #42AC87
triadic
#42AC52 #5242AC #AC5242
tetradic
#42AC52 #4267AC #AC429C #AC8742
square
#42AC52 #4267AC #AC429C #AC8742
split-complementary
#42AC52 #8742AC #AC4267
monochromatic
#205428 #31803D #42AC52 #67C575 #93D69D

Accessibility & contrast

On white

2.89
#42AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#42AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC52
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC52#FFFFFF#000000##000000
##42AC521.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#A19459
Tritanopia (blue-blind)
#28A897
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ac52;
/* rgb */ color: rgb(66, 172, 82);
/* oklch */ color: oklch(66.2% 0.161 146.2);
Tailwind
colors: {
  custom: {
    50: '#82c684',
    500: '#42ac52',
    950: '#000000',
  },
}
SCSS
$custom: #42ac52;
$custom-light: #82c684;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac52",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 129.057,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.16103,
    "h": 146.2
  },
  "luminance": 0.31272
}

Semantic roles & 50–950 ramp

primary
#42AC52
secondary
#C189B9
accent
#54C1D4
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #42AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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