#A79821#A79821

#A79821 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.131 H 101.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A79821
RGBrgb(167, 152, 33)
HSLhsl(53, 67%, 39%)
HSVhsv(53, 80%, 65%)
CMYKcmyk(0%, 9%, 80.2%, 34.5%)
CIE-LABlab(62.32, -7.14, 59.21)
CIE-LCHlch(62.32, 59.64, 96.88°)
OKLaboklab(67.28% -0.0265 0.1284)
OKLCHoklch(67.28% 0.131 101.7)
XYZxyz(27.4404, 30.7830, 5.9349)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79821 #2130A7
analogous
#A75521 #A79821 #73A721
triadic
#A79821 #21A798 #9821A7
tetradic
#A79821 #21A755 #2130A7 #A72173
square
#A79821 #21A755 #2130A7 #A72173
split-complementary
#A79821 #2173A7 #5521A7
monochromatic
#413B0D #746917 #A79821 #D6C32F #E0D262

Accessibility & contrast

On white

2.93
#A79821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A79821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79821
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79821#FFFFFF#000000##000000
##A798211.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79821;
/* rgb */ color: rgb(167, 152, 33);
/* oklch */ color: oklch(67.3% 0.131 101.7);
Tailwind
colors: {
  custom: {
    50: '#c5b568',
    500: '#a79821',
    950: '#000000',
  },
}
SCSS
$custom: #a79821;
$custom-light: #c5b568;
$custom-dark: #000000;
JSON
{
  "hex": "#a79821",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 53.284,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67278,
    "c": 0.13108,
    "h": 101.7
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#A79821
secondary
#5F6AC5
accent
#51EA3E
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79821

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

Preview Lab → · Contrast checker → · Palette generator →

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