#A78B2B#A78B2B

#A78B2B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.116 H 92.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A78B2B
RGBrgb(167, 139, 43)
HSLhsl(46, 59%, 41%)
HSVhsv(46, 74%, 65%)
CMYKcmyk(0%, 16.8%, 74.3%, 34.5%)
CIE-LABlab(58.84, 0.34, 52.42)
CIE-LCHlch(58.84, 52.43, 89.63°)
OKLaboklab(64.54% -0.0043 0.1159)
OKLCHoklch(64.54% 0.116 92.1)
XYZxyz(25.6064, 26.8567, 6.1202)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78B2B #2B47A7
analogous
#A74D2B #A78B2B #85A72B
triadic
#A78B2B #2BA78B #8B2BA7
tetradic
#A78B2B #2BA74D #2B47A7 #A72B85
square
#A78B2B #2BA74D #2B47A7 #A72B85
split-complementary
#A78B2B #2B85A7 #4D2BA7
monochromatic
#463A12 #76621E #A78B2B #CEAE41 #DBC372

Accessibility & contrast

On white

3.30
#A78B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A78B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A78B2B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78B2B#FFFFFF#000000##000000
##A78B2B1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891C
Deuteranopia (green-blind)
#A19130
Tritanopia (blue-blind)
#B57F78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a78b2b;
/* rgb */ color: rgb(167, 139, 43);
/* oklch */ color: oklch(64.5% 0.116 92.1);
Tailwind
colors: {
  custom: {
    50: '#c5ac6b',
    500: '#a78b2b',
    950: '#000000',
  },
}
SCSS
$custom: #a78b2b;
$custom-light: #c5ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a78b2b",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 46.452,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.11599,
    "h": 92.1
  },
  "luminance": 0.26855
}

Semantic roles & 50–950 ramp

primary
#A78B2B
secondary
#6C7FC2
accent
#69E246
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A78B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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