#ABC542#ABC542

#ABC542 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.9% C 0.157 H 119.9°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#ABC542
RGBrgb(171, 197, 66)
HSLhsl(72, 53%, 52%)
HSVhsv(72, 66%, 77%)
CMYKcmyk(13.2%, 0%, 66.5%, 22.7%)
CIE-LABlab(75.44, -26.63, 60.15)
CIE-LCHlch(75.44, 65.78, 113.88°)
OKLaboklab(77.92% -0.078 0.136)
OKLCHoklch(77.92% 0.157 119.9)
XYZxyz(37.7448, 48.9839, 12.6196)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC542 #5C42C5
analogous
#C59D42 #ABC542 #6AC542
triadic
#ABC542 #42ABC5 #C542AB
tetradic
#ABC542 #42C59D #5C42C5 #C5426A
square
#ABC542 #42C59D #5C42C5 #C5426A
split-complementary
#ABC542 #426AC5 #9D42C5
monochromatic
#5D6C21 #859A2F #ABC542 #C0D371 #D5E2A0

Accessibility & contrast

On white

1.95
#ABC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#ABC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC542
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC542#FFFFFF#000000##000000
##ABC5421.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#B4BBAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #abc542;
/* rgb */ color: rgb(171, 197, 66);
/* oklch */ color: oklch(77.9% 0.157 119.9);
Tailwind
colors: {
  custom: {
    50: '#c7d67d',
    500: '#abc542',
    950: '#000000',
  },
}
SCSS
$custom: #abc542;
$custom-light: #c7d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#abc542",
  "rgb": {
    "r": 171,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 71.908,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77916,
    "c": 0.15677,
    "h": 119.9
  },
  "luminance": 0.48984
}

Semantic roles & 50–950 ramp

primary
#ABC542
secondary
#A095CE
accent
#4BDC68
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ABC542

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

Preview Lab → · Contrast checker → · Palette generator →

#ABC542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva