#A78621#A78621

#A78621 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.4% C 0.119 H 89.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A78621
RGBrgb(167, 134, 33)
HSLhsl(45, 67%, 39%)
HSVhsv(45, 80%, 65%)
CMYKcmyk(0%, 19.8%, 80.2%, 34.5%)
CIE-LABlab(57.44, 2.68, 54.84)
CIE-LCHlch(57.44, 54.91, 87.20°)
OKLaboklab(63.41% 0.0013 0.119)
OKLCHoklch(63.41% 0.119 89.4)
XYZxyz(24.7375, 25.3771, 5.0339)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78621 #2142A7
analogous
#A74321 #A78621 #85A721
triadic
#A78621 #21A786 #8621A7
tetradic
#A78621 #21A743 #2142A7 #A72185
square
#A78621 #21A743 #2142A7 #A72185
split-complementary
#A78621 #2185A7 #4321A7
monochromatic
#41340D #745D17 #A78621 #D6AD2F #E0C162

Accessibility & contrast

On white

3.46
#A78621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A78621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78621
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78621#FFFFFF#000000##000000
##A786211.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850A
Deuteranopia (green-blind)
#9E8E27
Tritanopia (blue-blind)
#B57A73
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a78621;
/* rgb */ color: rgb(167, 134, 33);
/* oklch */ color: oklch(63.4% 0.119 89.4);
Tailwind
colors: {
  custom: {
    50: '#c6a865',
    500: '#a78621',
    950: '#000000',
  },
}
SCSS
$custom: #a78621;
$custom-light: #c6a865;
$custom-dark: #000000;
JSON
{
  "hex": "#a78621",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 45.224,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63414,
    "c": 0.11897,
    "h": 89.4
  },
  "luminance": 0.25375
}

Semantic roles & 50–950 ramp

primary
#A78621
secondary
#5F78C5
accent
#68EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A78621

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

Preview Lab → · Contrast checker → · Palette generator →

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