#A8A721#A8A721

#A8A721 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.144 H 109.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#A8A721
RGBrgb(168, 167, 33)
HSLhsl(60, 67%, 39%)
HSVhsv(60, 80%, 66%)
CMYKcmyk(0%, 0.6%, 80.4%, 34.1%)
CIE-LABlab(66.58, -14.58, 62.99)
CIE-LCHlch(66.58, 64.66, 103.03°)
OKLaboklab(70.69% -0.0473 0.1364)
OKLCHoklch(70.69% 0.144 109.1)
XYZxyz(30.2429, 36.0730, 6.8083)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A721 #2122A8
analogous
#A86421 #A8A721 #65A821
triadic
#A8A721 #21A8A7 #A721A8
tetradic
#A8A721 #21A864 #2122A8 #A82165
square
#A8A721 #21A864 #2122A8 #A82165
split-complementary
#A8A721 #2165A8 #6421A8
monochromatic
#42410D #757417 #A8A721 #D6D530 #E0DF63

Accessibility & contrast

On white

2.56
#A8A721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#A8A721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A721
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A721#FFFFFF#000000##000000
##A8A7211.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#B59C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a8a721;
/* rgb */ color: rgb(168, 167, 33);
/* oklch */ color: oklch(70.7% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#c6c06a',
    500: '#a8a721',
    950: '#000000',
  },
}
SCSS
$custom: #a8a721;
$custom-light: #c6c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a721",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 59.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70687,
    "c": 0.14443,
    "h": 109.1
  },
  "luminance": 0.36072
}

Semantic roles & 50–950 ramp

primary
#A8A721
secondary
#5F60C5
accent
#3FEA3E
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A721

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

Preview Lab → · Contrast checker → · Palette generator →

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