#A8A621#A8A621

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

Color values

HEX#A8A621
RGBrgb(168, 166, 33)
HSLhsl(59, 67%, 39%)
HSVhsv(59, 80%, 66%)
CMYKcmyk(0%, 1.2%, 80.4%, 34.1%)
CIE-LABlab(66.30, -14.06, 62.75)
CIE-LCHlch(66.30, 64.30, 102.63°)
OKLaboklab(70.46% -0.0459 0.1359)
OKLCHoklch(70.46% 0.143 108.7)
XYZxyz(30.0604, 35.7081, 6.7474)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A621 #2123A8
analogous
#A86321 #A8A621 #67A821
triadic
#A8A621 #21A8A6 #A621A8
tetradic
#A8A621 #21A863 #2123A8 #A82167
square
#A8A621 #21A863 #2123A8 #A82167
split-complementary
#A8A621 #2167A8 #6321A8
monochromatic
#42410D #757317 #A8A621 #D6D430 #E0DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8A621#FFFFFF#000000##000000
##A8A6211.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)
#B6A32D
Tritanopia (blue-blind)
#B59B8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a621;
/* rgb */ color: rgb(168, 166, 33);
/* oklch */ color: oklch(70.5% 0.143 108.7);
Tailwind
colors: {
  custom: {
    50: '#c6c06a',
    500: '#a8a621',
    950: '#000000',
  },
}
SCSS
$custom: #a8a621;
$custom-light: #c6c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a621",
  "rgb": {
    "r": 168,
    "g": 166,
    "b": 33
  },
  "hsl": {
    "h": 59.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.14347,
    "h": 108.7
  },
  "luminance": 0.35707
}

Semantic roles & 50–950 ramp

primary
#A8A621
secondary
#5F61C5
accent
#40EA3E
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A621

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

Preview Lab → · Contrast checker → · Palette generator →

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