#A78A22#A78A22

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

Color values

HEX#A78A22
RGBrgb(167, 138, 34)
HSLhsl(47, 66%, 39%)
HSVhsv(47, 80%, 65%)
CMYKcmyk(0%, 17.4%, 79.6%, 34.5%)
CIE-LABlab(58.52, 0.50, 55.47)
CIE-LCHlch(58.52, 55.47, 89.48°)
OKLaboklab(64.27% -0.0048 0.1205)
OKLCHoklch(64.27% 0.121 92.3)
XYZxyz(25.3150, 26.5095, 5.2965)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78A22 #223FA7
analogous
#A74722 #A78A22 #82A722
triadic
#A78A22 #22A78A #8A22A7
tetradic
#A78A22 #22A747 #223FA7 #A72282
square
#A78A22 #22A747 #223FA7 #A72282
split-complementary
#A78A22 #2282A7 #4722A7
monochromatic
#41360D #746018 #A78A22 #D5B131 #DFC564

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78A22#FFFFFF#000000##000000
##A78A221.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)
#9A880A
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#B57E76
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a78a22;
/* rgb */ color: rgb(167, 138, 34);
/* oklch */ color: oklch(64.3% 0.121 92.3);
Tailwind
colors: {
  custom: {
    50: '#c5ab66',
    500: '#a78a22',
    950: '#000000',
  },
}
SCSS
$custom: #a78a22;
$custom-light: #c5ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a78a22",
  "rgb": {
    "r": 167,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 46.917,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64265,
    "c": 0.12063,
    "h": 92.3
  },
  "luminance": 0.26508
}

Semantic roles & 50–950 ramp

primary
#A78A22
secondary
#6076C5
accent
#64E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78A22

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

Preview Lab → · Contrast checker → · Palette generator →

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