#A8A532#A8A532

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

Color values

HEX#A8A532
RGBrgb(168, 165, 50)
HSLhsl(58, 54%, 43%)
HSVhsv(58, 70%, 66%)
CMYKcmyk(0%, 1.8%, 70.2%, 34.1%)
CIE-LABlab(66.11, -12.81, 56.86)
CIE-LCHlch(66.11, 58.29, 102.70°)
OKLaboklab(70.34% -0.0409 0.1266)
OKLCHoklch(70.34% 0.133 107.9)
XYZxyz(30.1804, 35.4664, 8.2729)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A532 #3235A8
analogous
#A86A32 #A8A532 #70A832
triadic
#A8A532 #32A8A5 #A532A8
tetradic
#A8A532 #32A86A #3235A8 #A83270
square
#A8A532 #32A86A #3235A8 #A83270
split-complementary
#A8A532 #3270A8 #6A32A8
monochromatic
#4A4816 #797724 #A8A532 #CAC74D #D8D67C

Accessibility & contrast

On white

2.59
#A8A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A532#FFFFFF#000000##000000
##A8A5321.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a532;
/* rgb */ color: rgb(168, 165, 50);
/* oklch */ color: oklch(70.3% 0.133 107.9);
Tailwind
colors: {
  custom: {
    50: '#c5bf71',
    500: '#a8a532',
    950: '#000000',
  },
}
SCSS
$custom: #a8a532;
$custom-light: #c5bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a532",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 58.475,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70344,
    "c": 0.133,
    "h": 107.9
  },
  "luminance": 0.35465
}

Semantic roles & 50–950 ramp

primary
#A8A532
secondary
#7577C1
accent
#4EDD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A532

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

Preview Lab → · Contrast checker → · Palette generator →

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