#A8A529#A8A529

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

Color values

HEX#A8A529
RGBrgb(168, 165, 41)
HSLhsl(59, 61%, 41%)
HSVhsv(59, 76%, 66%)
CMYKcmyk(0%, 1.8%, 75.6%, 34.1%)
CIE-LABlab(66.06, -13.24, 60.05)
CIE-LCHlch(66.06, 61.49, 102.43°)
OKLaboklab(70.28% -0.0429 0.1317)
OKLCHoklch(70.28% 0.138 108.1)
XYZxyz(30.0050, 35.3962, 7.3490)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A529 #292CA8
analogous
#A86529 #A8A529 #6BA829
triadic
#A8A529 #29A8A5 #A529A8
tetradic
#A8A529 #29A865 #292CA8 #A8296B
square
#A8A529 #29A865 #292CA8 #A8296B
split-complementary
#A8A529 #296BA8 #6529A8
monochromatic
#464411 #77751D #A8A529 #D0CD3E #DCD96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A529#FFFFFF#000000##000000
##A8A5291.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)
#B39E0C
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a529;
/* rgb */ color: rgb(168, 165, 41);
/* oklch */ color: oklch(70.3% 0.138 108.1);
Tailwind
colors: {
  custom: {
    50: '#c5bf6d',
    500: '#a8a529',
    950: '#000000',
  },
}
SCSS
$custom: #a8a529;
$custom-light: #c5bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a529",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 58.583,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70284,
    "c": 0.13848,
    "h": 108.1
  },
  "luminance": 0.35395
}

Semantic roles & 50–950 ramp

primary
#A8A529
secondary
#6A6CC3
accent
#48E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A529

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

Preview Lab → · Contrast checker → · Palette generator →

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