#A7861D#A7861D

#A7861D is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.4% C 0.121 H 89.7°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A7861D
RGBrgb(167, 134, 29)
HSLhsl(46, 70%, 38%)
HSVhsv(46, 83%, 65%)
CMYKcmyk(0%, 19.8%, 82.6%, 34.5%)
CIE-LABlab(57.42, 2.54, 56.15)
CIE-LCHlch(57.42, 56.21, 87.41°)
OKLaboklab(63.39% 0.0005 0.1209)
OKLCHoklch(63.39% 0.121 89.7)
XYZxyz(24.6848, 25.3560, 4.7562)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7861D #1D3EA7
analogous
#A7411D #A7861D #83A71D
triadic
#A7861D #1DA786 #861DA7
tetradic
#A7861D #1DA741 #1D3EA7 #A71D83
square
#A7861D #1DA741 #1D3EA7 #A71D83
split-complementary
#A7861D #1D83A7 #411DA7
monochromatic
#3F320B #735C14 #A7861D #DAAF28 #E3C25C

Accessibility & contrast

On white

3.46
#A7861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A7861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7861D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7861D#FFFFFF#000000##000000
##A7861D1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9F8E24
Tritanopia (blue-blind)
#B57A73
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a7861d;
/* rgb */ color: rgb(167, 134, 29);
/* oklch */ color: oklch(63.4% 0.121 89.7);
Tailwind
colors: {
  custom: {
    50: '#c6a864',
    500: '#a7861d',
    950: '#000000',
  },
}
SCSS
$custom: #a7861d;
$custom-light: #c6a864;
$custom-dark: #000000;
JSON
{
  "hex": "#a7861d",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 45.652,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63392,
    "c": 0.12091,
    "h": 89.7
  },
  "luminance": 0.25354
}

Semantic roles & 50–950 ramp

primary
#A7861D
secondary
#5973C7
accent
#65ED3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7861D

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

Preview Lab → · Contrast checker → · Palette generator →

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