#A8AC51#A8AC51

#A8AC51 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.2% C 0.115 H 111.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#A8AC51
RGBrgb(168, 172, 81)
HSLhsl(63, 36%, 50%)
HSVhsv(63, 53%, 67%)
CMYKcmyk(2.3%, 0%, 52.9%, 32.5%)
CIE-LABlab(68.33, -14.27, 45.69)
CIE-LCHlch(68.33, 47.86, 107.35°)
OKLaboklab(72.21% -0.0416 0.1072)
OKLCHoklch(72.21% 0.115 111.2)
XYZxyz(32.3869, 38.4246, 13.4936)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AC51 #5551AC
analogous
#AC8251 #A8AC51 #7BAC51
triadic
#A8AC51 #51A8AC #AC51A8
tetradic
#A8AC51 #51AC82 #5551AC #AC517B
square
#A8AC51 #51AC82 #5551AC #AC517B
split-complementary
#A8AC51 #517BAC #8251AC
monochromatic
#57592A #7F823D #A8AC51 #BDC07A #D2D4A3

Accessibility & contrast

On white

2.42
#A8AC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#A8AC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AC51
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AC51#FFFFFF#000000##000000
##A8AC511.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A548
Deuteranopia (green-blind)
#B8A856
Tritanopia (blue-blind)
#B2A398
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a8ac51;
/* rgb */ color: rgb(168, 172, 81);
/* oklch */ color: oklch(72.2% 0.115 111.2);
Tailwind
colors: {
  custom: {
    50: '#c4c485',
    500: '#a8ac51',
    950: '#000000',
  },
}
SCSS
$custom: #a8ac51;
$custom-light: #c4c485;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ac51",
  "rgb": {
    "r": 168,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 62.637,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.11498,
    "h": 111.2
  },
  "luminance": 0.38424
}

Semantic roles & 50–950 ramp

primary
#A8AC51
secondary
#9998C1
accent
#5CCC61
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8AC51

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

Preview Lab → · Contrast checker → · Palette generator →

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