#A78721#A78721

#A78721 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.6% C 0.119 H 90.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A78721
RGBrgb(167, 135, 33)
HSLhsl(46, 67%, 39%)
HSVhsv(46, 80%, 65%)
CMYKcmyk(0%, 19.2%, 80.2%, 34.5%)
CIE-LABlab(57.71, 2.12, 55.08)
CIE-LCHlch(57.71, 55.12, 87.79°)
OKLaboklab(63.63% -0.0003 0.1195)
OKLCHoklch(63.63% 0.119 90.1)
XYZxyz(24.8763, 25.6549, 5.0802)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78721 #2141A7
analogous
#A74421 #A78721 #84A721
triadic
#A78721 #21A787 #8721A7
tetradic
#A78721 #21A744 #2141A7 #A72184
square
#A78721 #21A744 #2141A7 #A72184
split-complementary
#A78721 #2184A7 #4421A7
monochromatic
#41340D #745E17 #A78721 #D6AE2F #E0C262

Accessibility & contrast

On white

3.43
#A78721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A78721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78721
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78721#FFFFFF#000000##000000
##A787211.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978509
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#B57B74
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a78721;
/* rgb */ color: rgb(167, 135, 33);
/* oklch */ color: oklch(63.6% 0.119 90.1);
Tailwind
colors: {
  custom: {
    50: '#c5a965',
    500: '#a78721',
    950: '#000000',
  },
}
SCSS
$custom: #a78721;
$custom-light: #c5a965;
$custom-dark: #000000;
JSON
{
  "hex": "#a78721",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 45.672,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.11948,
    "h": 90.1
  },
  "luminance": 0.25653
}

Semantic roles & 50–950 ramp

primary
#A78721
secondary
#5F77C5
accent
#67EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A78721

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

Preview Lab → · Contrast checker → · Palette generator →

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