#A8A422#A8A422

#A8A422 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.141 H 107.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#A8A422
RGBrgb(168, 164, 34)
HSLhsl(58, 66%, 40%)
HSVhsv(58, 80%, 66%)
CMYKcmyk(0%, 2.4%, 79.8%, 34.1%)
CIE-LABlab(65.74, -12.99, 61.97)
CIE-LCHlch(65.74, 63.32, 101.84°)
OKLaboklab(70.02% -0.0428 0.1344)
OKLCHoklch(70.02% 0.141 107.7)
XYZxyz(29.7139, 34.9923, 6.7021)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A422 #2226A8
analogous
#A86122 #A8A422 #69A822
triadic
#A8A422 #22A8A4 #A422A8
tetradic
#A8A422 #22A861 #2226A8 #A82269
square
#A8A422 #22A861 #2226A8 #A82269
split-complementary
#A8A422 #2269A8 #6122A8
monochromatic
#42410D #757218 #A8A422 #D5D132 #E0DC65

Accessibility & contrast

On white

2.63
#A8A422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#A8A422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A422
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A422#FFFFFF#000000##000000
##A8A4221.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#B5998C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a422;
/* rgb */ color: rgb(168, 164, 34);
/* oklch */ color: oklch(70.0% 0.141 107.7);
Tailwind
colors: {
  custom: {
    50: '#c6be6a',
    500: '#a8a422',
    950: '#000000',
  },
}
SCSS
$custom: #a8a422;
$custom-light: #c6be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a422",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 58.209,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.1411,
    "h": 107.7
  },
  "luminance": 0.34991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A422

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

Preview Lab → · Contrast checker → · Palette generator →

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