#A78726#A78726

#A78726 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.7% C 0.117 H 89.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A78726
RGBrgb(167, 135, 38)
HSLhsl(45, 63%, 40%)
HSVhsv(45, 77%, 65%)
CMYKcmyk(0%, 19.2%, 77.2%, 34.5%)
CIE-LABlab(57.74, 2.32, 53.30)
CIE-LCHlch(57.74, 53.36, 87.51°)
OKLaboklab(63.66% 0.0008 0.1168)
OKLCHoklch(63.66% 0.117 89.6)
XYZxyz(24.9517, 25.6850, 5.4768)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78726 #2646A7
analogous
#A74626 #A78726 #87A726
triadic
#A78726 #26A787 #8726A7
tetradic
#A78726 #26A746 #2646A7 #A72687
square
#A78726 #26A746 #2646A7 #A72687
split-complementary
#A78726 #2687A7 #4626A7
monochromatic
#43360F #755F1B #A78726 #D2AC38 #DDC16A

Accessibility & contrast

On white

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

On black

6.14
#A78726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78726
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78726#FFFFFF#000000##000000
##A787261.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978614
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#B57B74
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a78726;
/* rgb */ color: rgb(167, 135, 38);
/* oklch */ color: oklch(63.7% 0.117 89.6);
Tailwind
colors: {
  custom: {
    50: '#c5a968',
    500: '#a78726',
    950: '#000000',
  },
}
SCSS
$custom: #a78726;
$custom-light: #c5a968;
$custom-dark: #000000;
JSON
{
  "hex": "#a78726",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 45.116,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.11675,
    "h": 89.6
  },
  "luminance": 0.25683
}

Semantic roles & 50–950 ramp

primary
#A78726
secondary
#657DC3
accent
#6BE642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A78726

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

Preview Lab → · Contrast checker → · Palette generator →

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