#A78B22#A78B22

#A78B22 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.121 H 93.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A78B22
RGBrgb(167, 139, 34)
HSLhsl(47, 66%, 39%)
HSVhsv(47, 80%, 65%)
CMYKcmyk(0%, 16.8%, 79.6%, 34.5%)
CIE-LABlab(58.79, -0.05, 55.71)
CIE-LCHlch(58.79, 55.71, 90.05°)
OKLaboklab(64.48% -0.0063 0.1211)
OKLCHoklch(64.48% 0.121 93)
XYZxyz(25.4592, 26.7978, 5.3446)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B22 #223EA7
analogous
#A74822 #A78B22 #81A722
triadic
#A78B22 #22A78B #8B22A7
tetradic
#A78B22 #22A748 #223EA7 #A72281
square
#A78B22 #22A748 #223EA7 #A72281
split-complementary
#A78B22 #2281A7 #4822A7
monochromatic
#41360D #746118 #A78B22 #D5B331 #DFC564

Accessibility & contrast

On white

3.30
#A78B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A78B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B22
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B22#FFFFFF#000000##000000
##A78B221.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890A
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#B57F77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78b22;
/* rgb */ color: rgb(167, 139, 34);
/* oklch */ color: oklch(64.5% 0.121 93.0);
Tailwind
colors: {
  custom: {
    50: '#c5ac66',
    500: '#a78b22',
    950: '#000000',
  },
}
SCSS
$custom: #a78b22;
$custom-light: #c5ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b22",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 47.368,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64478,
    "c": 0.12122,
    "h": 93
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#A78B22
secondary
#6075C5
accent
#63E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78B22

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

Preview Lab → · Contrast checker → · Palette generator →

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