#A4A721#A4A721

#A4A721 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.145 H 111.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A4A721
RGBrgb(164, 167, 33)
HSLhsl(61, 67%, 39%)
HSVhsv(61, 80%, 65%)
CMYKcmyk(1.8%, 0%, 80.2%, 34.5%)
CIE-LABlab(66.24, -16.34, 62.57)
CIE-LCHlch(66.24, 64.67, 104.63°)
OKLaboklab(70.34% -0.052 0.1357)
OKLCHoklch(70.34% 0.145 111)
XYZxyz(29.4041, 35.6406, 6.7689)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4A721 #2421A7
analogous
#A76721 #A4A721 #61A721
triadic
#A4A721 #21A4A7 #A721A4
tetradic
#A4A721 #21A767 #2421A7 #A72161
square
#A4A721 #21A767 #2421A7 #A72161
split-complementary
#A4A721 #2161A7 #6721A7
monochromatic
#40410D #727417 #A4A721 #D2D62F #DDE062

Accessibility & contrast

On white

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

On black

8.13
#A4A721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4A721
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4A721#FFFFFF#000000##000000
##A4A7211.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B09C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a4a721;
/* rgb */ color: rgb(164, 167, 33);
/* oklch */ color: oklch(70.3% 0.145 111.0);
Tailwind
colors: {
  custom: {
    50: '#c3c06a',
    500: '#a4a721',
    950: '#000000',
  },
}
SCSS
$custom: #a4a721;
$custom-light: #c3c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a4a721",
  "rgb": {
    "r": 164,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 61.343,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.14536,
    "h": 111
  },
  "luminance": 0.3564
}

Semantic roles & 50–950 ramp

primary
#A4A721
secondary
#615FC5
accent
#3EEA42
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A4A721

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

Preview Lab → · Contrast checker → · Palette generator →

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