#A78A21#A78A21

#A78A21 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.3% C 0.121 H 92.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A78A21
RGBrgb(167, 138, 33)
HSLhsl(47, 67%, 39%)
HSVhsv(47, 80%, 65%)
CMYKcmyk(0%, 17.4%, 80.2%, 34.5%)
CIE-LABlab(58.51, 0.47, 55.81)
CIE-LCHlch(58.51, 55.81, 89.52°)
OKLaboklab(64.26% -0.005 0.121)
OKLCHoklch(64.26% 0.121 92.4)
XYZxyz(25.3008, 26.5038, 5.2217)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A21 #213EA7
analogous
#A74721 #A78A21 #81A721
triadic
#A78A21 #21A78A #8A21A7
tetradic
#A78A21 #21A747 #213EA7 #A72181
square
#A78A21 #21A747 #213EA7 #A72181
split-complementary
#A78A21 #2181A7 #4721A7
monochromatic
#41360D #746017 #A78A21 #D6B22F #E0C562

Accessibility & contrast

On white

3.33
#A78A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A78A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78A21
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78A21#FFFFFF#000000##000000
##A78A211.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8807
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#B57E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a21;
/* rgb */ color: rgb(167, 138, 33);
/* oklch */ color: oklch(64.3% 0.121 92.4);
Tailwind
colors: {
  custom: {
    50: '#c5ab66',
    500: '#a78a21',
    950: '#000000',
  },
}
SCSS
$custom: #a78a21;
$custom-light: #c5ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a21",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 47.015,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64259,
    "c": 0.12114,
    "h": 92.4
  },
  "luminance": 0.26502
}

Semantic roles & 50–950 ramp

primary
#A78A21
secondary
#5F75C5
accent
#63EA3E
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78A21

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

Preview Lab → · Contrast checker → · Palette generator →

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