#A78822#A78822

#A78822 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.8% C 0.119 H 90.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A78822
RGBrgb(167, 136, 34)
HSLhsl(46, 66%, 39%)
HSVhsv(46, 80%, 65%)
CMYKcmyk(0%, 18.6%, 79.6%, 34.5%)
CIE-LABlab(57.98, 1.61, 54.98)
CIE-LCHlch(57.98, 55.01, 88.33°)
OKLaboklab(63.84% -0.0016 0.1195)
OKLCHoklch(63.84% 0.119 90.8)
XYZxyz(25.0307, 25.9409, 5.2018)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78822 #2241A7
analogous
#A74622 #A78822 #84A722
triadic
#A78822 #22A788 #8822A7
tetradic
#A78822 #22A746 #2241A7 #A72284
square
#A78822 #22A746 #2241A7 #A72284
split-complementary
#A78822 #2284A7 #4622A7
monochromatic
#41350D #745F18 #A78822 #D5AF31 #DFC364

Accessibility & contrast

On white

3.39
#A78822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A78822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78822
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78822#FFFFFF#000000##000000
##A788221.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860B
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#B57C75
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a78822;
/* rgb */ color: rgb(167, 136, 34);
/* oklch */ color: oklch(63.8% 0.119 90.8);
Tailwind
colors: {
  custom: {
    50: '#c5aa66',
    500: '#a78822',
    950: '#000000',
  },
}
SCSS
$custom: #a78822;
$custom-light: #c5aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78822",
  "rgb": {
    "r": 167,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 46.015,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.11949,
    "h": 90.8
  },
  "luminance": 0.25939
}

Semantic roles & 50–950 ramp

primary
#A78822
secondary
#6078C5
accent
#66E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A78822

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

Preview Lab → · Contrast checker → · Palette generator →

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