#A8A322#A8A322

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

Color values

HEX#A8A322
RGBrgb(168, 163, 34)
HSLhsl(58, 66%, 40%)
HSVhsv(58, 80%, 66%)
CMYKcmyk(0%, 3%, 79.8%, 34.1%)
CIE-LABlab(65.46, -12.47, 61.72)
CIE-LCHlch(65.46, 62.97, 101.42°)
OKLaboklab(69.8% -0.0414 0.1339)
OKLCHoklch(69.8% 0.14 107.2)
XYZxyz(29.5356, 34.6358, 6.6426)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A322 #2227A8
analogous
#A86022 #A8A322 #6AA822
triadic
#A8A322 #22A8A3 #A322A8
tetradic
#A8A322 #22A860 #2227A8 #A8226A
square
#A8A322 #22A860 #2227A8 #A8226A
split-complementary
#A8A322 #226AA8 #6022A8
monochromatic
#42400D #757218 #A8A322 #D5CF32 #E0DB65

Accessibility & contrast

On white

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

On black

7.93
#A8A322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A322
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A322#FFFFFF#000000##000000
##A8A3221.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a322;
/* rgb */ color: rgb(168, 163, 34);
/* oklch */ color: oklch(69.8% 0.140 107.2);
Tailwind
colors: {
  custom: {
    50: '#c6bd6a',
    500: '#a8a322',
    950: '#000000',
  },
}
SCSS
$custom: #a8a322;
$custom-light: #c6bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a322",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 57.761,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69801,
    "c": 0.14017,
    "h": 107.2
  },
  "luminance": 0.34635
}

Semantic roles & 50–950 ramp

primary
#A8A322
secondary
#6164C5
accent
#45E93F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A322

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

Preview Lab → · Contrast checker → · Palette generator →

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