#A78C21#A78C21

#A78C21 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.122 H 93.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A78C21
RGBrgb(167, 140, 33)
HSLhsl(48, 67%, 39%)
HSVhsv(48, 80%, 65%)
CMYKcmyk(0%, 16.2%, 80.2%, 34.5%)
CIE-LABlab(59.05, -0.63, 56.29)
CIE-LCHlch(59.05, 56.29, 90.65°)
OKLaboklab(64.69% -0.0081 0.1221)
OKLCHoklch(64.69% 0.122 93.8)
XYZxyz(25.5904, 27.0830, 5.3182)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C21 #213CA7
analogous
#A74921 #A78C21 #7FA721
triadic
#A78C21 #21A78C #8C21A7
tetradic
#A78C21 #21A749 #213CA7 #A7217F
square
#A78C21 #21A749 #213CA7 #A7217F
split-complementary
#A78C21 #217FA7 #4921A7
monochromatic
#41360D #746117 #A78C21 #D6B42F #E0C762

Accessibility & contrast

On white

3.27
#A78C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A78C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C21
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C21#FFFFFF#000000##000000
##A78C211.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8906
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c21;
/* rgb */ color: rgb(167, 140, 33);
/* oklch */ color: oklch(64.7% 0.122 93.8);
Tailwind
colors: {
  custom: {
    50: '#c5ad66',
    500: '#a78c21',
    950: '#000000',
  },
}
SCSS
$custom: #a78c21;
$custom-light: #c5ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c21",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 47.91,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64685,
    "c": 0.12235,
    "h": 93.8
  },
  "luminance": 0.27081
}

Semantic roles & 50–950 ramp

primary
#A78C21
secondary
#5F73C5
accent
#61EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78C21

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

Preview Lab → · Contrast checker → · Palette generator →

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