#ABC978#ABC978

#ABC978 is a light, moderate yellow-green. Relative luminance 0.518; OKLCH L 79.5% C 0.112 H 125.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#ABC978
RGBrgb(171, 201, 120)
HSLhsl(82, 43%, 63%)
HSVhsv(82, 40%, 79%)
CMYKcmyk(14.9%, 0%, 40.3%, 21.2%)
CIE-LABlab(77.15, -23.51, 37.17)
CIE-LCHlch(77.15, 43.98, 122.32°)
OKLaboklab(79.48% -0.0647 0.0909)
OKLCHoklch(79.48% 0.112 125.4)
XYZxyz(41.0711, 51.7870, 25.5978)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC978 #9678C9
analogous
#C9BE78 #ABC978 #82C978
triadic
#ABC978 #78ABC9 #C978AB
tetradic
#ABC978 #78C9BE #9678C9 #C97882
square
#ABC978 #78C9BE #9678C9 #C97882
split-complementary
#ABC978 #7882C9 #BE78C9
monochromatic
#6E8E39 #90B84C #ABC978 #C6DAA4 #E1ECCF

Accessibility & contrast

On white

1.85
#ABC978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#ABC978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC978
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC978#FFFFFF#000000##000000
##ABC9781.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C072
Deuteranopia (green-blind)
#CDBE7C
Tritanopia (blue-blind)
#B0C2B5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc978;
/* rgb */ color: rgb(171, 201, 120);
/* oklch */ color: oklch(79.5% 0.112 125.4);
Tailwind
colors: {
  custom: {
    50: '#c5d9a0',
    500: '#abc978',
    950: '#000000',
  },
}
SCSS
$custom: #abc978;
$custom-light: #c5d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#abc978",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 82.222,
    "s": 42.857,
    "l": 62.941
  },
  "oklch": {
    "l": 0.79482,
    "c": 0.1116,
    "h": 125.4
  },
  "luminance": 0.51787
}

Semantic roles & 50–950 ramp

primary
#ABC978
secondary
#6A5095
accent
#30B661
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #ABC978

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

Preview Lab → · Contrast checker → · Palette generator →

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