#A78F22#A78F22

#A78F22 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.124 H 95.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A78F22
RGBrgb(167, 143, 34)
HSLhsl(49, 66%, 39%)
HSVhsv(49, 80%, 65%)
CMYKcmyk(0%, 14.4%, 79.6%, 34.5%)
CIE-LABlab(59.87, -2.24, 56.69)
CIE-LCHlch(59.87, 56.74, 92.26°)
OKLaboklab(65.33% -0.0126 0.1232)
OKLCHoklch(65.33% 0.124 95.8)
XYZxyz(26.0490, 27.9774, 5.5412)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78F22 #223AA7
analogous
#A74D22 #A78F22 #7DA722
triadic
#A78F22 #22A78F #8F22A7
tetradic
#A78F22 #22A74D #223AA7 #A7227D
square
#A78F22 #22A74D #223AA7 #A7227D
split-complementary
#A78F22 #227DA7 #4D22A7
monochromatic
#41380D #746318 #A78F22 #D5B731 #DFC964

Accessibility & contrast

On white

3.18
#A78F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A78F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78F22
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78F22#FFFFFF#000000##000000
##A78F221.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C07
Deuteranopia (green-blind)
#A5932A
Tritanopia (blue-blind)
#B5837B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a78f22;
/* rgb */ color: rgb(167, 143, 34);
/* oklch */ color: oklch(65.3% 0.124 95.8);
Tailwind
colors: {
  custom: {
    50: '#c5af67',
    500: '#a78f22',
    950: '#000000',
  },
}
SCSS
$custom: #a78f22;
$custom-light: #c5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78f22",
  "rgb": {
    "r": 167,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 49.173,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65333,
    "c": 0.12379,
    "h": 95.8
  },
  "luminance": 0.27976
}

Semantic roles & 50–950 ramp

primary
#A78F22
secondary
#6072C5
accent
#5DE93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78F22

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

Preview Lab → · Contrast checker → · Palette generator →

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