#A78921#A78921

#A78921 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 64.0% C 0.121 H 91.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A78921
RGBrgb(167, 137, 33)
HSLhsl(47, 67%, 39%)
HSVhsv(47, 80%, 65%)
CMYKcmyk(0%, 18%, 80.2%, 34.5%)
CIE-LABlab(58.24, 1.02, 55.56)
CIE-LCHlch(58.24, 55.57, 88.95°)
OKLaboklab(64.05% -0.0034 0.1205)
OKLCHoklch(64.05% 0.121 91.6)
XYZxyz(25.1580, 26.2182, 5.1741)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78921 #213FA7
analogous
#A74621 #A78921 #82A721
triadic
#A78921 #21A789 #8921A7
tetradic
#A78921 #21A746 #213FA7 #A72182
square
#A78921 #21A746 #213FA7 #A72182
split-complementary
#A78921 #2182A7 #4621A7
monochromatic
#41350D #745F17 #A78921 #D6B12F #E0C462

Accessibility & contrast

On white

3.36
#A78921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A78921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78921
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78921#FFFFFF#000000##000000
##A789211.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998708
Deuteranopia (green-blind)
#A09028
Tritanopia (blue-blind)
#B57D75
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a78921;
/* rgb */ color: rgb(167, 137, 33);
/* oklch */ color: oklch(64.0% 0.121 91.6);
Tailwind
colors: {
  custom: {
    50: '#c5ab66',
    500: '#a78921',
    950: '#000000',
  },
}
SCSS
$custom: #a78921;
$custom-light: #c5ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78921",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 46.567,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64047,
    "c": 0.12057,
    "h": 91.6
  },
  "luminance": 0.26217
}

Semantic roles & 50–950 ramp

primary
#A78921
secondary
#5F76C5
accent
#64EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78921

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

Preview Lab → · Contrast checker → · Palette generator →

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