#A79721#A79721

#A79721 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 67.1% C 0.130 H 101.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A79721
RGBrgb(167, 151, 33)
HSLhsl(53, 67%, 39%)
HSVhsv(53, 80%, 65%)
CMYKcmyk(0%, 9.6%, 80.2%, 34.5%)
CIE-LABlab(62.05, -6.61, 58.97)
CIE-LCHlch(62.05, 59.34, 96.39°)
OKLaboklab(67.06% -0.025 0.1278)
OKLCHoklch(67.06% 0.13 101.1)
XYZxyz(27.2788, 30.4598, 5.8810)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79721 #2131A7
analogous
#A75421 #A79721 #74A721
triadic
#A79721 #21A797 #9721A7
tetradic
#A79721 #21A754 #2131A7 #A72174
square
#A79721 #21A754 #2131A7 #A72174
split-complementary
#A79721 #2174A7 #5421A7
monochromatic
#413B0D #746917 #A79721 #D6C22F #E0D162

Accessibility & contrast

On white

2.96
#A79721 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A79721 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79721
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79721#FFFFFF#000000##000000
##A797211.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#B48B81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a79721;
/* rgb */ color: rgb(167, 151, 33);
/* oklch */ color: oklch(67.1% 0.130 101.1);
Tailwind
colors: {
  custom: {
    50: '#c5b568',
    500: '#a79721',
    950: '#000000',
  },
}
SCSS
$custom: #a79721;
$custom-light: #c5b568;
$custom-dark: #000000;
JSON
{
  "hex": "#a79721",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 52.836,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6706,
    "c": 0.13026,
    "h": 101.1
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

primary
#A79721
secondary
#5F6BC5
accent
#52EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79721

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

Preview Lab → · Contrast checker → · Palette generator →

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