#A4A821#A4A821

#A4A821 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.146 H 111.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#A4A821
RGBrgb(164, 168, 33)
HSLhsl(62, 67%, 39%)
HSVhsv(62, 80%, 66%)
CMYKcmyk(2.4%, 0%, 80.4%, 34.1%)
CIE-LABlab(66.53, -16.85, 62.82)
CIE-LCHlch(66.53, 65.04, 105.01°)
OKLaboklab(70.57% -0.0534 0.1363)
OKLCHoklch(70.57% 0.146 111.4)
XYZxyz(29.5881, 36.0084, 6.8302)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A821 #2521A8
analogous
#A86921 #A4A821 #61A821
triadic
#A4A821 #21A4A8 #A821A4
tetradic
#A4A821 #21A869 #2521A8 #A82161
square
#A4A821 #21A869 #2521A8 #A82161
split-complementary
#A4A821 #2161A8 #6921A8
monochromatic
#40420D #727517 #A4A821 #D1D630 #DDE063

Accessibility & contrast

On white

2.56
#A4A821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#A4A821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A821
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A821#FFFFFF#000000##000000
##A4A8211.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B09D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a4a821;
/* rgb */ color: rgb(164, 168, 33);
/* oklch */ color: oklch(70.6% 0.146 111.4);
Tailwind
colors: {
  custom: {
    50: '#c3c16a',
    500: '#a4a821',
    950: '#000000',
  },
}
SCSS
$custom: #a4a821;
$custom-light: #c3c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a821",
  "rgb": {
    "r": 164,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 61.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70566,
    "c": 0.14636,
    "h": 111.4
  },
  "luminance": 0.36008
}

Semantic roles & 50–950 ramp

primary
#A4A821
secondary
#625FC5
accent
#3EEA43
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A821

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

Preview Lab → · Contrast checker → · Palette generator →

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