#A78B21#A78B21

#A78B21 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.122 H 93.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A78B21
RGBrgb(167, 139, 33)
HSLhsl(47, 67%, 39%)
HSVhsv(47, 80%, 65%)
CMYKcmyk(0%, 16.8%, 80.2%, 34.5%)
CIE-LABlab(58.78, -0.09, 56.05)
CIE-LCHlch(58.78, 56.05, 90.09°)
OKLaboklab(64.47% -0.0066 0.1216)
OKLCHoklch(64.47% 0.122 93.1)
XYZxyz(25.4449, 26.7921, 5.2697)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B21 #213DA7
analogous
#A74821 #A78B21 #80A721
triadic
#A78B21 #21A78B #8B21A7
tetradic
#A78B21 #21A748 #213DA7 #A72180
square
#A78B21 #21A748 #213DA7 #A72180
split-complementary
#A78B21 #2180A7 #4821A7
monochromatic
#41360D #746017 #A78B21 #D6B32F #E0C662

Accessibility & contrast

On white

3.30
#A78B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A78B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B21
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B21#FFFFFF#000000##000000
##A78B211.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8907
Deuteranopia (green-blind)
#A29128
Tritanopia (blue-blind)
#B57F77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78b21;
/* rgb */ color: rgb(167, 139, 33);
/* oklch */ color: oklch(64.5% 0.122 93.1);
Tailwind
colors: {
  custom: {
    50: '#c5ac66',
    500: '#a78b21',
    950: '#000000',
  },
}
SCSS
$custom: #a78b21;
$custom-light: #c5ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b21",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 47.463,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64472,
    "c": 0.12174,
    "h": 93.1
  },
  "luminance": 0.26791
}

Semantic roles & 50–950 ramp

primary
#A78B21
secondary
#5F74C5
accent
#62EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78B21

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

Preview Lab → · Contrast checker → · Palette generator →

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