#A8A420#A8A420

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

Color values

HEX#A8A420
RGBrgb(168, 164, 32)
HSLhsl(58, 68%, 39%)
HSVhsv(58, 81%, 66%)
CMYKcmyk(0%, 2.4%, 81%, 34.1%)
CIE-LABlab(65.73, -13.06, 62.54)
CIE-LCHlch(65.73, 63.89, 101.80°)
OKLaboklab(70.01% -0.0432 0.1353)
OKLCHoklch(70.01% 0.142 107.7)
XYZxyz(29.6859, 34.9811, 6.5545)
Luminance0.3498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A420 #2024A8
analogous
#A86020 #A8A420 #68A820
triadic
#A8A420 #20A8A4 #A420A8
tetradic
#A8A420 #20A860 #2024A8 #A82068
square
#A8A420 #20A860 #2024A8 #A82068
split-complementary
#A8A420 #2068A8 #6020A8
monochromatic
#41400C #757216 #A8A420 #D7D22E #E1DD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8a420;
/* rgb */ color: rgb(168, 164, 32);
/* oklch */ color: oklch(70.0% 0.142 107.7);
Tailwind
colors: {
  custom: {
    50: '#c6be69',
    500: '#a8a420',
    950: '#000000',
  },
}
SCSS
$custom: #a8a420;
$custom-light: #c6be69;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a420",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 32
  },
  "hsl": {
    "h": 58.235,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70013,
    "c": 0.14202,
    "h": 107.7
  },
  "luminance": 0.3498
}

Semantic roles & 50–950 ramp

primary
#A8A420
secondary
#5E61C6
accent
#42EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A420

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

Preview Lab → · Contrast checker → · Palette generator →

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