#A8A531#A8A531

#A8A531 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.134 H 107.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A8A531
RGBrgb(168, 165, 49)
HSLhsl(58, 55%, 43%)
HSVhsv(58, 71%, 66%)
CMYKcmyk(0%, 1.8%, 70.8%, 34.1%)
CIE-LABlab(66.10, -12.86, 57.23)
CIE-LCHlch(66.10, 58.66, 102.66°)
OKLaboklab(70.34% -0.0411 0.1272)
OKLCHoklch(70.34% 0.134 107.9)
XYZxyz(30.1591, 35.4578, 8.1605)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A531 #3134A8
analogous
#A86931 #A8A531 #70A831
triadic
#A8A531 #31A8A5 #A531A8
tetradic
#A8A531 #31A869 #3134A8 #A83170
square
#A8A531 #31A869 #3134A8 #A83170
split-complementary
#A8A531 #3170A8 #6931A8
monochromatic
#494815 #797623 #A8A531 #CBC74C #D8D67B

Accessibility & contrast

On white

2.60
#A8A531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A8A531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A531
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A531#FFFFFF#000000##000000
##A8A5311.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1E
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a531;
/* rgb */ color: rgb(168, 165, 49);
/* oklch */ color: oklch(70.3% 0.134 107.9);
Tailwind
colors: {
  custom: {
    50: '#c5bf71',
    500: '#a8a531',
    950: '#000000',
  },
}
SCSS
$custom: #a8a531;
$custom-light: #c5bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a531",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 58.487,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70337,
    "c": 0.13366,
    "h": 107.9
  },
  "luminance": 0.35457
}

Semantic roles & 50–950 ramp

primary
#A8A531
secondary
#7476C1
accent
#4DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A531

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

Preview Lab → · Contrast checker → · Palette generator →

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