#A78D21#A78D21

#A78D21 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.9% C 0.123 H 94.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A78D21
RGBrgb(167, 141, 33)
HSLhsl(48, 67%, 39%)
HSVhsv(48, 80%, 65%)
CMYKcmyk(0%, 15.6%, 80.2%, 34.5%)
CIE-LABlab(59.32, -1.18, 56.53)
CIE-LCHlch(59.32, 56.55, 91.20°)
OKLaboklab(64.9% -0.0097 0.1226)
OKLCHoklch(64.9% 0.123 94.5)
XYZxyz(25.7372, 27.3766, 5.3671)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78D21 #213BA7
analogous
#A74A21 #A78D21 #7EA721
triadic
#A78D21 #21A78D #8D21A7
tetradic
#A78D21 #21A74A #213BA7 #A7217E
square
#A78D21 #21A74A #213BA7 #A7217E
split-complementary
#A78D21 #217EA7 #4A21A7
monochromatic
#41370D #746217 #A78D21 #D6B62F #E0C862

Accessibility & contrast

On white

3.24
#A78D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A78D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78D21
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78D21#FFFFFF#000000##000000
##A78D211.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A06
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#B58179
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78d21;
/* rgb */ color: rgb(167, 141, 33);
/* oklch */ color: oklch(64.9% 0.123 94.5);
Tailwind
colors: {
  custom: {
    50: '#c5ad66',
    500: '#a78d21',
    950: '#000000',
  },
}
SCSS
$custom: #a78d21;
$custom-light: #c5ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78d21",
  "rgb": {
    "r": 167,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 48.358,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64898,
    "c": 0.12298,
    "h": 94.5
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#A78D21
secondary
#5F73C5
accent
#5FEA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78D21

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

Preview Lab → · Contrast checker → · Palette generator →

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