#A8A320#A8A320

#A8A320 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.141 H 107.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A8A320
RGBrgb(168, 163, 32)
HSLhsl(58, 68%, 39%)
HSVhsv(58, 81%, 66%)
CMYKcmyk(0%, 3%, 81%, 34.1%)
CIE-LABlab(65.46, -12.54, 62.29)
CIE-LCHlch(65.46, 63.54, 101.38°)
OKLaboklab(69.79% -0.0417 0.1348)
OKLCHoklch(69.79% 0.141 107.2)
XYZxyz(29.5076, 34.6246, 6.4951)
Luminance0.3462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A320 #2025A8
analogous
#A85F20 #A8A320 #69A820
triadic
#A8A320 #20A8A3 #A320A8
tetradic
#A8A320 #20A85F #2025A8 #A82069
square
#A8A320 #20A85F #2025A8 #A82069
split-complementary
#A8A320 #2069A8 #5F20A8
monochromatic
#413F0C #757116 #A8A320 #D7D12E #E1DC61

Accessibility & contrast

On white

2.65
#A8A320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A8A320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A320
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A320#FFFFFF#000000##000000
##A8A3201.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B4A12C
Tritanopia (blue-blind)
#B5988B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a320;
/* rgb */ color: rgb(168, 163, 32);
/* oklch */ color: oklch(69.8% 0.141 107.2);
Tailwind
colors: {
  custom: {
    50: '#c6bd69',
    500: '#a8a320',
    950: '#000000',
  },
}
SCSS
$custom: #a8a320;
$custom-light: #c6bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a320",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 32
  },
  "hsl": {
    "h": 57.794,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.14109,
    "h": 107.2
  },
  "luminance": 0.34624
}

Semantic roles & 50–950 ramp

primary
#A8A320
secondary
#5E62C6
accent
#43EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A320

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

Preview Lab → · Contrast checker → · Palette generator →

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