#A5A322#A5A322

#A5A322 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.141 H 108.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A5A322
RGBrgb(165, 163, 34)
HSLhsl(59, 66%, 39%)
HSVhsv(59, 79%, 65%)
CMYKcmyk(0%, 1.2%, 79.4%, 35.3%)
CIE-LABlab(65.21, -13.80, 61.40)
CIE-LCHlch(65.21, 62.93, 102.67°)
OKLaboklab(69.53% -0.0449 0.1334)
OKLCHoklch(69.53% 0.141 108.6)
XYZxyz(28.9041, 34.3102, 6.6130)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A322 #2224A5
analogous
#A56222 #A5A322 #66A522
triadic
#A5A322 #22A5A3 #A322A5
tetradic
#A5A322 #22A562 #2224A5 #A52266
square
#A5A322 #22A562 #2224A5 #A52266
split-complementary
#A5A322 #2266A5 #6222A5
monochromatic
#403F0D #727118 #A5A322 #D4D230 #DFDD63

Accessibility & contrast

On white

2.67
#A5A322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A5A322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A322
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A322#FFFFFF#000000##000000
##A5A3221.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02E
Tritanopia (blue-blind)
#B1988B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a322;
/* rgb */ color: rgb(165, 163, 34);
/* oklch */ color: oklch(69.5% 0.141 108.6);
Tailwind
colors: {
  custom: {
    50: '#c3be69',
    500: '#a5a322',
    950: '#000000',
  },
}
SCSS
$custom: #a5a322;
$custom-light: #c3be69;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a322",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 59.084,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69534,
    "c": 0.14072,
    "h": 108.6
  },
  "luminance": 0.34309
}

Semantic roles & 50–950 ramp

primary
#A5A322
secondary
#5F60C4
accent
#42E93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A322

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

Preview Lab → · Contrast checker → · Palette generator →

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