#A8A520#A8A520

#A8A520 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.143 H 108.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A8A520
RGBrgb(168, 165, 32)
HSLhsl(59, 68%, 39%)
HSVhsv(59, 81%, 66%)
CMYKcmyk(0%, 1.8%, 81%, 34.1%)
CIE-LABlab(66.01, -13.58, 62.78)
CIE-LCHlch(66.01, 64.23, 102.21°)
OKLaboklab(70.24% -0.0446 0.1358)
OKLCHoklch(70.24% 0.143 108.2)
XYZxyz(29.8655, 35.3404, 6.6144)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A520 #2023A8
analogous
#A86120 #A8A520 #67A820
triadic
#A8A520 #20A8A5 #A520A8
tetradic
#A8A520 #20A861 #2023A8 #A82067
square
#A8A520 #20A861 #2023A8 #A82067
split-complementary
#A8A520 #2067A8 #6120A8
monochromatic
#41400C #757316 #A8A520 #D7D32E #E1DE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8a520;
/* rgb */ color: rgb(168, 165, 32);
/* oklch */ color: oklch(70.2% 0.143 108.2);
Tailwind
colors: {
  custom: {
    50: '#c6bf69',
    500: '#a8a520',
    950: '#000000',
  },
}
SCSS
$custom: #a8a520;
$custom-light: #c6bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a520",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 58.676,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70236,
    "c": 0.14296,
    "h": 108.2
  },
  "luminance": 0.35339
}

Semantic roles & 50–950 ramp

primary
#A8A520
secondary
#5E60C6
accent
#41EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A520

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

Preview Lab → · Contrast checker → · Palette generator →

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