#A78823#A78823

#A78823 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.8% C 0.119 H 90.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A78823
RGBrgb(167, 136, 35)
HSLhsl(46, 65%, 40%)
HSVhsv(46, 79%, 65%)
CMYKcmyk(0%, 18.6%, 79%, 34.5%)
CIE-LABlab(57.99, 1.65, 54.64)
CIE-LCHlch(57.99, 54.66, 88.27°)
OKLaboklab(63.85% -0.0014 0.119)
OKLCHoklch(63.85% 0.119 90.7)
XYZxyz(25.0454, 25.9468, 5.2789)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78823 #2342A7
analogous
#A74623 #A78823 #84A723
triadic
#A78823 #23A788 #8823A7
tetradic
#A78823 #23A746 #2342A7 #A72384
square
#A78823 #23A746 #2342A7 #A72384
split-complementary
#A78823 #2384A7 #4623A7
monochromatic
#42360E #745F18 #A78823 #D4AE33 #DFC266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A78823#FFFFFF#000000##000000
##A788231.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)
#98860E
Deuteranopia (green-blind)
#A08F29
Tritanopia (blue-blind)
#B57C75
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a78823;
/* rgb */ color: rgb(167, 136, 35);
/* oklch */ color: oklch(63.8% 0.119 90.7);
Tailwind
colors: {
  custom: {
    50: '#c5aa67',
    500: '#a78823',
    950: '#000000',
  },
}
SCSS
$custom: #a78823;
$custom-light: #c5aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#a78823",
  "rgb": {
    "r": 167,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 45.909,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.11896,
    "h": 90.7
  },
  "luminance": 0.25945
}

Semantic roles & 50–950 ramp

primary
#A78823
secondary
#6179C4
accent
#67E83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A78823

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

Preview Lab → · Contrast checker → · Palette generator →

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