#A78826#A78826

#A78826 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.9% C 0.117 H 90.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A78826
RGBrgb(167, 136, 38)
HSLhsl(46, 63%, 40%)
HSVhsv(46, 77%, 65%)
CMYKcmyk(0%, 18.6%, 77.2%, 34.5%)
CIE-LABlab(58.00, 1.77, 53.56)
CIE-LCHlch(58.00, 53.59, 88.11°)
OKLaboklab(63.87% -0.0008 0.1173)
OKLCHoklch(63.87% 0.117 90.4)
XYZxyz(25.0918, 25.9653, 5.5236)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78826 #2645A7
analogous
#A74726 #A78826 #86A726
triadic
#A78826 #26A788 #8826A7
tetradic
#A78826 #26A747 #2645A7 #A72686
square
#A78826 #26A747 #2645A7 #A72686
split-complementary
#A78826 #2686A7 #4726A7
monochromatic
#43370F #755F1B #A78826 #D2AD38 #DDC26A

Accessibility & contrast

On white

3.39
#A78826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A78826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78826
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78826#FFFFFF#000000##000000
##A788261.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988614
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#B57C75
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a78826;
/* rgb */ color: rgb(167, 136, 38);
/* oklch */ color: oklch(63.9% 0.117 90.4);
Tailwind
colors: {
  custom: {
    50: '#c5aa68',
    500: '#a78826',
    950: '#000000',
  },
}
SCSS
$custom: #a78826;
$custom-light: #c5aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#a78826",
  "rgb": {
    "r": 167,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 45.581,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63867,
    "c": 0.11729,
    "h": 90.4
  },
  "luminance": 0.25964
}

Semantic roles & 50–950 ramp

primary
#A78826
secondary
#657CC3
accent
#69E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A78826

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

Preview Lab → · Contrast checker → · Palette generator →

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