#A8A020#A8A020

#A8A020 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.138 H 105.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A8A020
RGBrgb(168, 160, 32)
HSLhsl(56, 68%, 39%)
HSVhsv(56, 81%, 66%)
CMYKcmyk(0%, 4.8%, 81%, 34.1%)
CIE-LABlab(64.62, -10.97, 61.57)
CIE-LCHlch(64.62, 62.54, 100.10°)
OKLaboklab(69.13% -0.0374 0.1332)
OKLCHoklch(69.13% 0.138 105.7)
XYZxyz(28.9812, 33.5719, 6.3197)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A020 #2028A8
analogous
#A85C20 #A8A020 #6CA820
triadic
#A8A020 #20A8A0 #A020A8
tetradic
#A8A020 #20A85C #2028A8 #A8206C
square
#A8A020 #20A85C #2028A8 #A8206C
split-complementary
#A8A020 #206CA8 #5C20A8
monochromatic
#413E0C #756F16 #A8A020 #D7CD2E #E1D961

Accessibility & contrast

On white

2.72
#A8A020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A8A020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A020
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A020#FFFFFF#000000##000000
##A8A0201.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B29F2B
Tritanopia (blue-blind)
#B59589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a020;
/* rgb */ color: rgb(168, 160, 32);
/* oklch */ color: oklch(69.1% 0.138 105.7);
Tailwind
colors: {
  custom: {
    50: '#c6bb68',
    500: '#a8a020',
    950: '#000000',
  },
}
SCSS
$custom: #a8a020;
$custom-light: #c6bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a020",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 56.471,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69126,
    "c": 0.13834,
    "h": 105.7
  },
  "luminance": 0.33571
}

Semantic roles & 50–950 ramp

primary
#A8A020
secondary
#5E64C6
accent
#47EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A020

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

Preview Lab → · Contrast checker → · Palette generator →

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