#A78922#A78922

#A78922 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 64.1% C 0.120 H 91.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A78922
RGBrgb(167, 137, 34)
HSLhsl(46, 66%, 39%)
HSVhsv(46, 80%, 65%)
CMYKcmyk(0%, 18%, 79.6%, 34.5%)
CIE-LABlab(58.25, 1.05, 55.23)
CIE-LCHlch(58.25, 55.24, 88.91°)
OKLaboklab(64.05% -0.0032 0.12)
OKLCHoklch(64.05% 0.12 91.5)
XYZxyz(25.1722, 26.2239, 5.2489)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78922 #2240A7
analogous
#A74722 #A78922 #83A722
triadic
#A78922 #22A789 #8922A7
tetradic
#A78922 #22A747 #2240A7 #A72283
square
#A78922 #22A747 #2240A7 #A72283
split-complementary
#A78922 #2283A7 #4722A7
monochromatic
#41360D #745F18 #A78922 #D5B031 #DFC464

Accessibility & contrast

On white

3.36
#A78922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A78922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78922
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78922#FFFFFF#000000##000000
##A789221.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870B
Deuteranopia (green-blind)
#A09028
Tritanopia (blue-blind)
#B57D76
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a78922;
/* rgb */ color: rgb(167, 137, 34);
/* oklch */ color: oklch(64.1% 0.120 91.5);
Tailwind
colors: {
  custom: {
    50: '#c5ab66',
    500: '#a78922',
    950: '#000000',
  },
}
SCSS
$custom: #a78922;
$custom-light: #c5ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78922",
  "rgb": {
    "r": 167,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 46.466,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64053,
    "c": 0.12004,
    "h": 91.5
  },
  "luminance": 0.26222
}

Semantic roles & 50–950 ramp

primary
#A78922
secondary
#6077C5
accent
#65E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78922

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

Preview Lab → · Contrast checker → · Palette generator →

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