#A7AC52#A7AC52

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

Color values

HEX#A7AC52
RGBrgb(167, 172, 82)
HSLhsl(63, 35%, 50%)
HSVhsv(63, 52%, 67%)
CMYKcmyk(2.9%, 0%, 52.3%, 32.5%)
CIE-LABlab(68.26, -14.60, 45.11)
CIE-LCHlch(68.26, 47.41, 107.94°)
OKLaboklab(72.13% -0.0424 0.106)
OKLCHoklch(72.13% 0.114 111.8)
XYZxyz(32.2125, 38.3304, 13.6826)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC52 #5752AC
analogous
#AC8452 #A7AC52 #7AAC52
triadic
#A7AC52 #52A7AC #AC52A7
tetradic
#A7AC52 #52AC84 #5752AC #AC527A
square
#A7AC52 #52AC84 #5752AC #AC527A
split-complementary
#A7AC52 #527AAC #8452AC
monochromatic
#57592A #7F833E #A7AC52 #BCC07B #D1D4A5

Accessibility & contrast

On white

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

On black

8.67
#A7AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC52
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC52#FFFFFF#000000##000000
##A7AC521.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ac52;
/* rgb */ color: rgb(167, 172, 82);
/* oklch */ color: oklch(72.1% 0.114 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c485',
    500: '#a7ac52',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac52;
$custom-light: #c3c485;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac52",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 63.333,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.1142,
    "h": 111.8
  },
  "luminance": 0.3833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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