#ABC538#ABC538

#ABC538 is a light, vivid yellow-green. Relative luminance 0.489; OKLCH L 77.8% C 0.163 H 119.5°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#ABC538
RGBrgb(171, 197, 56)
HSLhsl(71, 56%, 50%)
HSVhsv(71, 72%, 77%)
CMYKcmyk(13.2%, 0%, 71.6%, 22.7%)
CIE-LABlab(75.37, -27.21, 63.83)
CIE-LCHlch(75.37, 69.39, 113.09°)
OKLaboklab(77.84% -0.0806 0.1422)
OKLCHoklch(77.84% 0.163 119.5)
XYZxyz(37.4754, 48.8762, 11.2004)
Luminance0.4888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC538 #5238C5
analogous
#C59938 #ABC538 #65C538
triadic
#ABC538 #38ABC5 #C538AB
tetradic
#ABC538 #38C599 #5238C5 #C53865
square
#ABC538 #38C599 #5238C5 #C53865
split-complementary
#ABC538 #3865C5 #9938C5
monochromatic
#58661D #82952A #ABC538 #C0D467 #D3E196

Accessibility & contrast

On white

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

On black

10.78
#ABC538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC538
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC538#FFFFFF#000000##000000
##ABC5381.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#CFBA44
Tritanopia (blue-blind)
#B5BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #abc538;
/* rgb */ color: rgb(171, 197, 56);
/* oklch */ color: oklch(77.8% 0.163 119.5);
Tailwind
colors: {
  custom: {
    50: '#c7d678',
    500: '#abc538',
    950: '#000000',
  },
}
SCSS
$custom: #abc538;
$custom-light: #c7d678;
$custom-dark: #000000;
JSON
{
  "hex": "#abc538",
  "rgb": {
    "r": 171,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 71.064,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7784,
    "c": 0.16342,
    "h": 119.5
  },
  "luminance": 0.48876
}

Semantic roles & 50–950 ramp

primary
#ABC538
secondary
#988CCD
accent
#49DF64
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #ABC538

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

Preview Lab → · Contrast checker → · Palette generator →

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