#ACC987#ACC987

#ACC987 is a light, moderate yellow-green. Relative luminance 0.523; OKLCH L 79.8% C 0.094 H 127.7°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#ACC987
RGBrgb(172, 201, 135)
HSLhsl(86, 38%, 66%)
HSVhsv(86, 33%, 79%)
CMYKcmyk(14.4%, 0%, 32.8%, 21.2%)
CIE-LABlab(77.46, -21.17, 29.87)
CIE-LCHlch(77.46, 36.61, 125.33°)
OKLaboklab(79.82% -0.0575 0.0745)
OKLCHoklch(79.82% 0.094 127.7)
XYZxyz(42.2725, 52.2928, 30.7834)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC987 #A487C9
analogous
#C9C587 #ACC987 #8BC987
triadic
#ACC987 #87ACC9 #C987AC
tetradic
#ACC987 #87C9C5 #A487C9 #C9878B
square
#ACC987 #87C9C5 #A487C9 #C9878B
split-complementary
#ACC987 #878BC9 #C587C9
monochromatic
#709342 #8FB65D #ACC987 #C9DCB1 #E6EFDB

Accessibility & contrast

On white

1.83
#ACC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#ACC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC987
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC987#FFFFFF#000000##000000
##ACC9871.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acc987;
/* rgb */ color: rgb(172, 201, 135);
/* oklch */ color: oklch(79.8% 0.094 127.7);
Tailwind
colors: {
  custom: {
    50: '#c5d9aa',
    500: '#acc987',
    950: '#000000',
  },
}
SCSS
$custom: #acc987;
$custom-light: #c5d9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#acc987",
  "rgb": {
    "r": 172,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 86.364,
    "s": 37.931,
    "l": 65.882
  },
  "oklch": {
    "l": 0.79818,
    "c": 0.09408,
    "h": 127.7
  },
  "luminance": 0.52293
}

Semantic roles & 50–950 ramp

primary
#ACC987
secondary
#765A9B
accent
#35B16B
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #ACC987

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

Preview Lab → · Contrast checker → · Palette generator →

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