#A8A525#A8A525

#A8A525 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#A8A525
RGBrgb(168, 165, 37)
HSLhsl(59, 64%, 40%)
HSVhsv(59, 78%, 66%)
CMYKcmyk(0%, 1.8%, 78%, 34.1%)
CIE-LABlab(66.04, -13.40, 61.32)
CIE-LCHlch(66.04, 62.77, 102.33°)
OKLaboklab(70.26% -0.0437 0.1336)
OKLCHoklch(70.26% 0.141 108.1)
XYZxyz(29.9387, 35.3697, 6.9999)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A525 #2528A8
analogous
#A86325 #A8A525 #69A825
triadic
#A8A525 #25A8A5 #A525A8
tetradic
#A8A525 #25A863 #2528A8 #A82569
square
#A8A525 #25A863 #2528A8 #A82569
split-complementary
#A8A525 #2569A8 #6325A8
monochromatic
#44420F #76741A #A8A525 #D3CF37 #DEDB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A525#FFFFFF#000000##000000
##A8A5251.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)
#B5A230
Tritanopia (blue-blind)
#B59A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a525;
/* rgb */ color: rgb(168, 165, 37);
/* oklch */ color: oklch(70.3% 0.141 108.1);
Tailwind
colors: {
  custom: {
    50: '#c6bf6b',
    500: '#a8a525',
    950: '#000000',
  },
}
SCSS
$custom: #a8a525;
$custom-light: #c6bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a525",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 58.626,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70261,
    "c": 0.14059,
    "h": 108.1
  },
  "luminance": 0.35369
}

Semantic roles & 50–950 ramp

primary
#A8A525
secondary
#6567C4
accent
#45E741
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A525

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

Preview Lab → · Contrast checker → · Palette generator →

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