#A79321#A79321

#A79321 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.2% C 0.127 H 98.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A79321
RGBrgb(167, 147, 33)
HSLhsl(51, 67%, 39%)
HSVhsv(51, 80%, 65%)
CMYKcmyk(0%, 12%, 80.2%, 34.5%)
CIE-LABlab(60.95, -4.45, 57.99)
CIE-LCHlch(60.95, 58.16, 94.39°)
OKLaboklab(66.19% -0.0189 0.1257)
OKLCHoklch(66.19% 0.127 98.6)
XYZxyz(26.6460, 29.1941, 5.6701)
Luminance0.2919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79321 #2135A7
analogous
#A75021 #A79321 #78A721
triadic
#A79321 #21A793 #9321A7
tetradic
#A79321 #21A750 #2135A7 #A72178
square
#A79321 #21A750 #2135A7 #A72178
split-complementary
#A79321 #2178A7 #5021A7
monochromatic
#41390D #746617 #A79321 #D6BD2F #E0CD62

Accessibility & contrast

On white

3.07
#A79321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A79321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A79321
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79321#FFFFFF#000000##000000
##A793211.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F02
Deuteranopia (green-blind)
#A8962A
Tritanopia (blue-blind)
#B5877E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a79321;
/* rgb */ color: rgb(167, 147, 33);
/* oklch */ color: oklch(66.2% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#c5b267',
    500: '#a79321',
    950: '#000000',
  },
}
SCSS
$custom: #a79321;
$custom-light: #c5b267;
$custom-dark: #000000;
JSON
{
  "hex": "#a79321",
  "rgb": {
    "r": 167,
    "g": 147,
    "b": 33
  },
  "hsl": {
    "h": 51.045,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6619,
    "c": 0.12716,
    "h": 98.6
  },
  "luminance": 0.29193
}

Semantic roles & 50–950 ramp

primary
#A79321
secondary
#5F6EC5
accent
#58EA3E
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A79321

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

Preview Lab → · Contrast checker → · Palette generator →

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