#ABC540#ABC540

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

Color values

HEX#ABC540
RGBrgb(171, 197, 64)
HSLhsl(72, 53%, 51%)
HSVhsv(72, 68%, 77%)
CMYKcmyk(13.2%, 0%, 67.5%, 22.7%)
CIE-LABlab(75.43, -26.75, 60.91)
CIE-LCHlch(75.43, 66.53, 113.71°)
OKLaboklab(77.9% -0.0786 0.1373)
OKLCHoklch(77.9% 0.158 119.8)
XYZxyz(37.6869, 48.9608, 12.3145)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC540 #5A40C5
analogous
#C59C40 #ABC540 #68C540
triadic
#ABC540 #40ABC5 #C540AB
tetradic
#ABC540 #40C59C #5A40C5 #C54068
square
#ABC540 #40C59C #5A40C5 #C54068
split-complementary
#ABC540 #4068C5 #9C40C5
monochromatic
#5C6A20 #84992F #ABC540 #C0D36F #D4E29E

Accessibility & contrast

On white

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

On black

10.79
#ABC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC540
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC540#FFFFFF#000000##000000
##ABC5401.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#B5BBAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #abc540;
/* rgb */ color: rgb(171, 197, 64);
/* oklch */ color: oklch(77.9% 0.158 119.8);
Tailwind
colors: {
  custom: {
    50: '#c7d67c',
    500: '#abc540',
    950: '#000000',
  },
}
SCSS
$custom: #abc540;
$custom-light: #c7d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#abc540",
  "rgb": {
    "r": 171,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 71.729,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.779,
    "c": 0.15819,
    "h": 119.8
  },
  "luminance": 0.48961
}

Semantic roles & 50–950 ramp

primary
#ABC540
secondary
#9F93CE
accent
#4BDD67
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ABC540

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

Preview Lab → · Contrast checker → · Palette generator →

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