#A4A321#A4A321

#A4A321 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.141 H 109.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A4A321
RGBrgb(164, 163, 33)
HSLhsl(60, 66%, 39%)
HSVhsv(60, 80%, 64%)
CMYKcmyk(0%, 0.6%, 79.9%, 35.7%)
CIE-LABlab(65.12, -14.28, 61.58)
CIE-LCHlch(65.12, 63.21, 103.05°)
OKLaboklab(69.44% -0.0463 0.1336)
OKLCHoklch(69.44% 0.141 109.1)
XYZxyz(28.6827, 34.1976, 6.5285)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A321 #2122A4
analogous
#A46121 #A4A321 #63A421
triadic
#A4A321 #21A4A3 #A321A4
tetradic
#A4A321 #21A461 #2122A4 #A42163
square
#A4A321 #21A461 #2122A4 #A42163
split-complementary
#A4A321 #2163A4 #6121A4
monochromatic
#3E3E0C #717017 #A4A321 #D5D42D #DFDE60

Accessibility & contrast

On white

2.68
#A4A321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#A4A321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A321
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A321#FFFFFF#000000##000000
##A4A3211.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#B0988B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a4a321;
/* rgb */ color: rgb(164, 163, 33);
/* oklch */ color: oklch(69.4% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#c3be69',
    500: '#a4a321',
    950: '#000000',
  },
}
SCSS
$custom: #a4a321;
$custom-light: #c3be69;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a321",
  "rgb": {
    "r": 164,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 59.542,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69441,
    "c": 0.14139,
    "h": 109.1
  },
  "luminance": 0.34197
}

Semantic roles & 50–950 ramp

primary
#A4A321
secondary
#5D5EC4
accent
#40E93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A321

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

Preview Lab → · Contrast checker → · Palette generator →

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