#A8A524#A8A524

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

Color values

HEX#A8A524
RGBrgb(168, 165, 36)
HSLhsl(59, 65%, 40%)
HSVhsv(59, 79%, 66%)
CMYKcmyk(0%, 1.8%, 78.6%, 34.1%)
CIE-LABlab(66.03, -13.44, 61.62)
CIE-LCHlch(66.03, 63.07, 102.30°)
OKLaboklab(70.26% -0.0439 0.1341)
OKLCHoklch(70.26% 0.141 108.1)
XYZxyz(29.9232, 35.3635, 6.9183)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A524 #2427A8
analogous
#A86324 #A8A524 #69A824
triadic
#A8A524 #24A8A5 #A524A8
tetradic
#A8A524 #24A863 #2427A8 #A82469
square
#A8A524 #24A863 #2427A8 #A82469
split-complementary
#A8A524 #2469A8 #6324A8
monochromatic
#43420E #767319 #A8A524 #D4D035 #DFDC68

Accessibility & contrast

On white

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

On black

8.07
#A8A524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A524
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A524#FFFFFF#000000##000000
##A8A5241.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#B59A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a524;
/* rgb */ color: rgb(168, 165, 36);
/* oklch */ color: oklch(70.3% 0.141 108.1);
Tailwind
colors: {
  custom: {
    50: '#c6bf6b',
    500: '#a8a524',
    950: '#000000',
  },
}
SCSS
$custom: #a8a524;
$custom-light: #c6bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a524",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 58.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.70256,
    "c": 0.14109,
    "h": 108.1
  },
  "luminance": 0.35362
}

Semantic roles & 50–950 ramp

primary
#A8A524
secondary
#6366C4
accent
#44E840
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A524

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

Preview Lab → · Contrast checker → · Palette generator →

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