#A8A528#A8A528

#A8A528 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.139 H 108.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A8A528
RGBrgb(168, 165, 40)
HSLhsl(59, 62%, 41%)
HSVhsv(59, 76%, 66%)
CMYKcmyk(0%, 1.8%, 76.2%, 34.1%)
CIE-LABlab(66.05, -13.28, 60.37)
CIE-LCHlch(66.05, 61.82, 102.41°)
OKLaboklab(70.28% -0.0431 0.1322)
OKLCHoklch(70.28% 0.139 108.1)
XYZxyz(29.9878, 35.3893, 7.2583)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A528 #282BA8
analogous
#A86528 #A8A528 #6BA828
triadic
#A8A528 #28A8A5 #A528A8
tetradic
#A8A528 #28A865 #282BA8 #A8286B
square
#A8A528 #28A865 #282BA8 #A8286B
split-complementary
#A8A528 #286BA8 #6528A8
monochromatic
#454410 #77741C #A8A528 #D1CD3D #DCDA6E

Accessibility & contrast

On white

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

On black

8.08
#A8A528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A528
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A528#FFFFFF#000000##000000
##A8A5281.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a528;
/* rgb */ color: rgb(168, 165, 40);
/* oklch */ color: oklch(70.3% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#c5bf6c',
    500: '#a8a528',
    950: '#000000',
  },
}
SCSS
$custom: #a8a528;
$custom-light: #c5bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a528",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 40
  },
  "hsl": {
    "h": 58.594,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70278,
    "c": 0.13903,
    "h": 108.1
  },
  "luminance": 0.35388
}

Semantic roles & 50–950 ramp

primary
#A8A528
secondary
#696BC3
accent
#47E543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A528

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

Preview Lab → · Contrast checker → · Palette generator →

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