#ACC981#ACC981

#ACC981 is a light, moderate yellow-green. Relative luminance 0.521; OKLCH L 79.7% C 0.101 H 126.4°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#ACC981
RGBrgb(172, 201, 129)
HSLhsl(84, 40%, 65%)
HSVhsv(84, 36%, 79%)
CMYKcmyk(14.4%, 0%, 35.8%, 21.2%)
CIE-LABlab(77.36, -21.98, 32.84)
CIE-LCHlch(77.36, 39.52, 123.79°)
OKLaboklab(79.71% -0.06 0.0813)
OKLCHoklch(79.71% 0.101 126.4)
XYZxyz(41.8619, 52.1286, 28.6210)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC981 #9E81C9
analogous
#C9C281 #ACC981 #88C981
triadic
#ACC981 #81ACC9 #C981AC
tetradic
#ACC981 #81C9C2 #9E81C9 #C98188
square
#ACC981 #81C9C2 #9E81C9 #C98188
split-complementary
#ACC981 #8188C9 #C281C9
monochromatic
#70913E #90B756 #ACC981 #C8DBAC #E4EED7

Accessibility & contrast

On white

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

On black

11.43
#ACC981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC981
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC981#FFFFFF#000000##000000
##ACC9811.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07C
Deuteranopia (green-blind)
#CCBF85
Tritanopia (blue-blind)
#B0C3B7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #acc981;
/* rgb */ color: rgb(172, 201, 129);
/* oklch */ color: oklch(79.7% 0.101 126.4);
Tailwind
colors: {
  custom: {
    50: '#c5d9a6',
    500: '#acc981',
    950: '#000000',
  },
}
SCSS
$custom: #acc981;
$custom-light: #c5d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#acc981",
  "rgb": {
    "r": 172,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 84.167,
    "s": 40,
    "l": 64.706
  },
  "oklch": {
    "l": 0.79707,
    "c": 0.10103,
    "h": 126.4
  },
  "luminance": 0.52129
}

Semantic roles & 50–950 ramp

primary
#ACC981
secondary
#715698
accent
#32B366
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #ACC981

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

Preview Lab → · Contrast checker → · Palette generator →

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