#A6AC52#A6AC52

#A6AC52 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.1% C 0.114 H 112.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#A6AC52
RGBrgb(166, 172, 82)
HSLhsl(64, 35%, 50%)
HSVhsv(64, 52%, 67%)
CMYKcmyk(3.5%, 0%, 52.3%, 32.5%)
CIE-LABlab(68.18, -15.02, 44.99)
CIE-LCHlch(68.18, 47.43, 108.46°)
OKLaboklab(72.05% -0.0435 0.1058)
OKLCHoklch(72.05% 0.114 112.4)
XYZxyz(32.0020, 38.2218, 13.6727)
Luminance0.3822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6AC52 #5852AC
analogous
#AC8552 #A6AC52 #79AC52
triadic
#A6AC52 #52A6AC #AC52A6
tetradic
#A6AC52 #52AC85 #5852AC #AC5279
square
#A6AC52 #52AC85 #5852AC #AC5279
split-complementary
#A6AC52 #5279AC #8552AC
monochromatic
#56592A #7E833E #A6AC52 #BCC07B #D1D4A5

Accessibility & contrast

On white

2.43
#A6AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#A6AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6AC52
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6AC52#FFFFFF#000000##000000
##A6AC521.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A549
Deuteranopia (green-blind)
#B7A757
Tritanopia (blue-blind)
#B0A398
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a6ac52;
/* rgb */ color: rgb(166, 172, 82);
/* oklch */ color: oklch(72.1% 0.114 112.4);
Tailwind
colors: {
  custom: {
    50: '#c2c485',
    500: '#a6ac52',
    950: '#000000',
  },
}
SCSS
$custom: #a6ac52;
$custom-light: #c2c485;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ac52",
  "rgb": {
    "r": 166,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 64,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72051,
    "c": 0.11441,
    "h": 112.4
  },
  "luminance": 0.38221
}

Semantic roles & 50–950 ramp

primary
#A6AC52
secondary
#9B99C1
accent
#5CCB64
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A6AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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