#A78E22#A78E22

#A78E22 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.123 H 95.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A78E22
RGBrgb(167, 142, 34)
HSLhsl(49, 66%, 39%)
HSVhsv(49, 80%, 65%)
CMYKcmyk(0%, 15%, 79.6%, 34.5%)
CIE-LABlab(59.60, -1.69, 56.45)
CIE-LCHlch(59.60, 56.47, 91.72°)
OKLaboklab(65.12% -0.011 0.1226)
OKLCHoklch(65.12% 0.123 95.1)
XYZxyz(25.8995, 27.6785, 5.4914)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78E22 #223BA7
analogous
#A74C22 #A78E22 #7EA722
triadic
#A78E22 #22A78E #8E22A7
tetradic
#A78E22 #22A74C #223BA7 #A7227E
square
#A78E22 #22A74C #223BA7 #A7227E
split-complementary
#A78E22 #227EA7 #4C22A7
monochromatic
#41380D #746318 #A78E22 #D5B631 #DFC864

Accessibility & contrast

On white

3.21
#A78E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A78E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78E22
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78E22#FFFFFF#000000##000000
##A78E221.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B08
Deuteranopia (green-blind)
#A49329
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a78e22;
/* rgb */ color: rgb(167, 142, 34);
/* oklch */ color: oklch(65.1% 0.123 95.1);
Tailwind
colors: {
  custom: {
    50: '#c5ae67',
    500: '#a78e22',
    950: '#000000',
  },
}
SCSS
$custom: #a78e22;
$custom-light: #c5ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78e22",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 48.722,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65118,
    "c": 0.12313,
    "h": 95.1
  },
  "luminance": 0.27677
}

Semantic roles & 50–950 ramp

primary
#A78E22
secondary
#6073C5
accent
#5FE93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78E22

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

Preview Lab → · Contrast checker → · Palette generator →

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