#A78C22#A78C22

#A78C22 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.122 H 93.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A78C22
RGBrgb(167, 140, 34)
HSLhsl(48, 66%, 39%)
HSVhsv(48, 80%, 65%)
CMYKcmyk(0%, 16.2%, 79.6%, 34.5%)
CIE-LABlab(59.06, -0.60, 55.96)
CIE-LCHlch(59.06, 55.96, 90.61°)
OKLaboklab(64.69% -0.0079 0.1216)
OKLCHoklch(64.69% 0.122 93.7)
XYZxyz(25.6046, 27.0887, 5.3931)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78C22 #223DA7
analogous
#A74A22 #A78C22 #7FA722
triadic
#A78C22 #22A78C #8C22A7
tetradic
#A78C22 #22A74A #223DA7 #A7227F
square
#A78C22 #22A74A #223DA7 #A7227F
split-complementary
#A78C22 #227FA7 #4A22A7
monochromatic
#41370D #746118 #A78C22 #D5B431 #DFC664

Accessibility & contrast

On white

3.27
#A78C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A78C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78C22
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78C22#FFFFFF#000000##000000
##A78C221.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8909
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78c22;
/* rgb */ color: rgb(167, 140, 34);
/* oklch */ color: oklch(64.7% 0.122 93.7);
Tailwind
colors: {
  custom: {
    50: '#c5ad67',
    500: '#a78c22',
    950: '#000000',
  },
}
SCSS
$custom: #a78c22;
$custom-light: #c5ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78c22",
  "rgb": {
    "r": 167,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 47.82,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64691,
    "c": 0.12184,
    "h": 93.7
  },
  "luminance": 0.27087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A78C22

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

Preview Lab → · Contrast checker → · Palette generator →

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