#ABC987#ABC987

#ABC987 is a light, moderate yellow-green. Relative luminance 0.522; OKLCH L 79.7% C 0.095 H 128.2°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#ABC987
RGBrgb(171, 201, 135)
HSLhsl(87, 38%, 66%)
HSVhsv(87, 33%, 79%)
CMYKcmyk(14.9%, 0%, 32.8%, 21.2%)
CIE-LABlab(77.39, -21.54, 29.76)
CIE-LCHlch(77.39, 36.74, 125.89°)
OKLaboklab(79.75% -0.0585 0.0742)
OKLCHoklch(79.75% 0.095 128.2)
XYZxyz(42.0538, 52.1801, 30.7732)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC987 #A587C9
analogous
#C9C687 #ABC987 #8AC987
triadic
#ABC987 #87ABC9 #C987AB
tetradic
#ABC987 #87C9C6 #A587C9 #C9878A
square
#ABC987 #87C9C6 #A587C9 #C9878A
split-complementary
#ABC987 #878AC9 #C687C9
monochromatic
#6E9342 #8DB65D #ABC987 #C9DCB1 #E6EFDB

Accessibility & contrast

On white

1.84
#ABC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#ABC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC987
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC987#FFFFFF#000000##000000
##ABC9871.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC083
Deuteranopia (green-blind)
#CBBF8A
Tritanopia (blue-blind)
#AEC3B8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #abc987;
/* rgb */ color: rgb(171, 201, 135);
/* oklch */ color: oklch(79.7% 0.095 128.2);
Tailwind
colors: {
  custom: {
    50: '#c5d9aa',
    500: '#abc987',
    950: '#000000',
  },
}
SCSS
$custom: #abc987;
$custom-light: #c5d9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#abc987",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 87.273,
    "s": 37.931,
    "l": 65.882
  },
  "oklch": {
    "l": 0.79747,
    "c": 0.09452,
    "h": 128.2
  },
  "luminance": 0.5218
}

Semantic roles & 50–950 ramp

primary
#ABC987
secondary
#775A9B
accent
#35B16D
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #ABC987

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

Preview Lab → · Contrast checker → · Palette generator →

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