#A78722#A78722

#A78722 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.6% C 0.119 H 90.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A78722
RGBrgb(167, 135, 34)
HSLhsl(46, 66%, 39%)
HSVhsv(46, 80%, 65%)
CMYKcmyk(0%, 19.2%, 79.6%, 34.5%)
CIE-LABlab(57.71, 2.16, 54.74)
CIE-LCHlch(57.71, 54.78, 87.74°)
OKLaboklab(63.63% -0.0001 0.119)
OKLCHoklch(63.63% 0.119 90)
XYZxyz(24.8906, 25.6605, 5.1551)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78722 #2242A7
analogous
#A74522 #A78722 #85A722
triadic
#A78722 #22A787 #8722A7
tetradic
#A78722 #22A745 #2242A7 #A72285
square
#A78722 #22A745 #2242A7 #A72285
split-complementary
#A78722 #2285A7 #4522A7
monochromatic
#41350D #745E18 #A78722 #D5AE31 #DFC264

Accessibility & contrast

On white

3.42
#A78722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A78722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78722
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78722#FFFFFF#000000##000000
##A787221.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850C
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#B57B74
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a78722;
/* rgb */ color: rgb(167, 135, 34);
/* oklch */ color: oklch(63.6% 0.119 90.0);
Tailwind
colors: {
  custom: {
    50: '#c5a966',
    500: '#a78722',
    950: '#000000',
  },
}
SCSS
$custom: #a78722;
$custom-light: #c5a966;
$custom-dark: #000000;
JSON
{
  "hex": "#a78722",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 45.564,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63631,
    "c": 0.11896,
    "h": 90
  },
  "luminance": 0.25659
}

Semantic roles & 50–950 ramp

primary
#A78722
secondary
#6078C5
accent
#68E93F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A78722

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

Preview Lab → · Contrast checker → · Palette generator →

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