#A8A622#A8A622

#A8A622 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.5% C 0.143 H 108.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A8A622
RGBrgb(168, 166, 34)
HSLhsl(59, 66%, 40%)
HSVhsv(59, 80%, 66%)
CMYKcmyk(0%, 1.2%, 79.8%, 34.1%)
CIE-LABlab(66.30, -14.03, 62.46)
CIE-LCHlch(66.30, 64.02, 102.66°)
OKLaboklab(70.47% -0.0457 0.1355)
OKLCHoklch(70.47% 0.143 108.6)
XYZxyz(30.0746, 35.7138, 6.8223)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A622 #2224A8
analogous
#A86322 #A8A622 #67A822
triadic
#A8A622 #22A8A6 #A622A8
tetradic
#A8A622 #22A863 #2224A8 #A82267
square
#A8A622 #22A863 #2224A8 #A82267
split-complementary
#A8A622 #2267A8 #6322A8
monochromatic
#42410D #757418 #A8A622 #D5D332 #E0DE65

Accessibility & contrast

On white

2.58
#A8A622 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A8A622 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A622
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A622#FFFFFF#000000##000000
##A8A6221.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a622;
/* rgb */ color: rgb(168, 166, 34);
/* oklch */ color: oklch(70.5% 0.143 108.6);
Tailwind
colors: {
  custom: {
    50: '#c6c06a',
    500: '#a8a622',
    950: '#000000',
  },
}
SCSS
$custom: #a8a622;
$custom-light: #c6c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a622",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 59.104,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70468,
    "c": 0.14301,
    "h": 108.6
  },
  "luminance": 0.35713
}

Semantic roles & 50–950 ramp

primary
#A8A622
secondary
#6162C5
accent
#41E93F
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A622

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

Preview Lab → · Contrast checker → · Palette generator →

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