#A79521#A79521

#A79521 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.6% C 0.129 H 99.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A79521
RGBrgb(167, 149, 33)
HSLhsl(52, 67%, 39%)
HSVhsv(52, 80%, 65%)
CMYKcmyk(0%, 10.8%, 80.2%, 34.5%)
CIE-LABlab(61.50, -5.53, 58.48)
CIE-LCHlch(61.50, 58.74, 95.40°)
OKLaboklab(66.62% -0.022 0.1268)
OKLCHoklch(66.62% 0.129 99.8)
XYZxyz(26.9597, 29.8215, 5.7746)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79521 #2133A7
analogous
#A75221 #A79521 #76A721
triadic
#A79521 #21A795 #9521A7
tetradic
#A79521 #21A752 #2133A7 #A72176
square
#A79521 #21A752 #2133A7 #A72176
split-complementary
#A79521 #2176A7 #5221A7
monochromatic
#413A0D #746717 #A79521 #D6C02F #E0CF62

Accessibility & contrast

On white

3.02
#A79521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A79521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79521
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79521#FFFFFF#000000##000000
##A795211.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#B58980
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a79521;
/* rgb */ color: rgb(167, 149, 33);
/* oklch */ color: oklch(66.6% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#c5b367',
    500: '#a79521',
    950: '#000000',
  },
}
SCSS
$custom: #a79521;
$custom-light: #c5b367;
$custom-dark: #000000;
JSON
{
  "hex": "#a79521",
  "rgb": {
    "r": 167,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 51.94,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66624,
    "c": 0.12868,
    "h": 99.8
  },
  "luminance": 0.2982
}

Semantic roles & 50–950 ramp

primary
#A79521
secondary
#5F6CC5
accent
#55EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79521

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

Preview Lab → · Contrast checker → · Palette generator →

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