#A49821#A49821

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

Color values

HEX#A49821
RGBrgb(164, 152, 33)
HSLhsl(55, 66%, 39%)
HSVhsv(55, 80%, 64%)
CMYKcmyk(0%, 7.3%, 79.9%, 35.7%)
CIE-LABlab(62.05, -8.49, 58.86)
CIE-LCHlch(62.05, 59.47, 98.21°)
OKLaboklab(66.99% -0.0301 0.1278)
OKLCHoklch(66.99% 0.131 103.3)
XYZxyz(26.8138, 30.4600, 5.9055)
Luminance0.3046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A49821 #212DA4
analogous
#A45621 #A49821 #6EA421
triadic
#A49821 #21A498 #9821A4
tetradic
#A49821 #21A456 #212DA4 #A4216E
square
#A49821 #21A456 #212DA4 #A4216E
split-complementary
#A49821 #216EA4 #5621A4
monochromatic
#3E3A0C #716917 #A49821 #D5C52D #DFD360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A49821#FFFFFF#000000##000000
##A498211.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)
#A79300
Deuteranopia (green-blind)
#AA982B
Tritanopia (blue-blind)
#B18D82
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a49821;
/* rgb */ color: rgb(164, 152, 33);
/* oklch */ color: oklch(67.0% 0.131 103.3);
Tailwind
colors: {
  custom: {
    50: '#c3b668',
    500: '#a49821',
    950: '#000000',
  },
}
SCSS
$custom: #a49821;
$custom-light: #c3b668;
$custom-dark: #000000;
JSON
{
  "hex": "#a49821",
  "rgb": {
    "r": 164,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 54.504,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.13127,
    "h": 103.3
  },
  "luminance": 0.30459
}

Semantic roles & 50–950 ramp

primary
#A49821
secondary
#5D66C4
accent
#4EE93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A49821

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

Preview Lab → · Contrast checker → · Palette generator →

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