#A8A552#A8A552

#A8A552 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.106 H 107.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#A8A552
RGBrgb(168, 165, 82)
HSLhsl(58, 34%, 49%)
HSVhsv(58, 51%, 66%)
CMYKcmyk(0%, 1.8%, 51.2%, 34.1%)
CIE-LABlab(66.40, -10.53, 42.94)
CIE-LCHlch(66.40, 44.21, 103.78°)
OKLaboklab(70.67% -0.0309 0.1013)
OKLCHoklch(70.67% 0.106 107)
XYZxyz(31.1274, 35.8451, 13.2601)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A552 #5255A8
analogous
#A87A52 #A8A552 #80A852
triadic
#A8A552 #52A8A5 #A552A8
tetradic
#A8A552 #52A87A #5255A8 #A85280
square
#A8A552 #52A87A #5255A8 #A85280
split-complementary
#A8A552 #5280A8 #7A52A8
monochromatic
#56542A #7F7D3E #A8A552 #BEBB79 #D2D0A3

Accessibility & contrast

On white

2.57
#A8A552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#A8A552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A552
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A552#FFFFFF#000000##000000
##A8A5521.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F4A
Deuteranopia (green-blind)
#B3A356
Tritanopia (blue-blind)
#B29C92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a552;
/* rgb */ color: rgb(168, 165, 82);
/* oklch */ color: oklch(70.7% 0.106 107.0);
Tailwind
colors: {
  custom: {
    50: '#c4bf85',
    500: '#a8a552',
    950: '#000000',
  },
}
SCSS
$custom: #a8a552;
$custom-light: #c4bf85;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a552",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 57.907,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7067,
    "c": 0.10591,
    "h": 107
  },
  "luminance": 0.35844
}

Semantic roles & 50–950 ramp

primary
#A8A552
secondary
#9798BF
accent
#61CA5D
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A8A552

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

Preview Lab → · Contrast checker → · Palette generator →

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