#A59921#A59921

#A59921 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.3% C 0.132 H 103.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A59921
RGBrgb(165, 153, 33)
HSLhsl(55, 67%, 39%)
HSVhsv(55, 80%, 65%)
CMYKcmyk(0%, 7.3%, 80%, 35.3%)
CIE-LABlab(62.42, -8.58, 59.22)
CIE-LCHlch(62.42, 59.84, 98.24°)
OKLaboklab(67.31% -0.0304 0.1285)
OKLCHoklch(67.31% 0.132 103.3)
XYZxyz(27.1841, 30.8928, 5.9696)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A59921 #212DA5
analogous
#A55721 #A59921 #6FA521
triadic
#A59921 #21A599 #9921A5
tetradic
#A59921 #21A557 #212DA5 #A5216F
square
#A59921 #21A557 #212DA5 #A5216F
split-complementary
#A59921 #216FA5 #5721A5
monochromatic
#3F3A0D #726A17 #A59921 #D5C62E #DFD461

Accessibility & contrast

On white

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

On black

7.18
#A59921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A59921
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A59921#FFFFFF#000000##000000
##A599211.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#B28E83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a59921;
/* rgb */ color: rgb(165, 153, 33);
/* oklch */ color: oklch(67.3% 0.132 103.3);
Tailwind
colors: {
  custom: {
    50: '#c4b668',
    500: '#a59921',
    950: '#000000',
  },
}
SCSS
$custom: #a59921;
$custom-light: #c4b668;
$custom-dark: #000000;
JSON
{
  "hex": "#a59921",
  "rgb": {
    "r": 165,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 54.545,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67308,
    "c": 0.13204,
    "h": 103.3
  },
  "luminance": 0.30892
}

Semantic roles & 50–950 ramp

primary
#A59921
secondary
#5E67C4
accent
#4EEA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A59921

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

Preview Lab → · Contrast checker → · Palette generator →

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