#A7861C#A7861C

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

Color values

HEX#A7861C
RGBrgb(167, 134, 28)
HSLhsl(46, 71%, 38%)
HSVhsv(46, 83%, 65%)
CMYKcmyk(0%, 19.8%, 83.2%, 34.5%)
CIE-LABlab(57.42, 2.51, 56.46)
CIE-LCHlch(57.42, 56.52, 87.46°)
OKLaboklab(63.39% 0.0004 0.1214)
OKLCHoklch(63.39% 0.121 89.8)
XYZxyz(24.6726, 25.3512, 4.6921)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7861C #1C3DA7
analogous
#A7401C #A7861C #82A71C
triadic
#A7861C #1CA786 #861CA7
tetradic
#A7861C #1CA740 #1C3DA7 #A71C82
square
#A7861C #1CA740 #1C3DA7 #A71C82
split-complementary
#A7861C #1C82A7 #401CA7
monochromatic
#3E320A #735C13 #A7861C #DBB026 #E3C35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7861C#FFFFFF#000000##000000
##A7861C1.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)
#9F8E23
Tritanopia (blue-blind)
#B57A73
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a7861c;
/* rgb */ color: rgb(167, 134, 28);
/* oklch */ color: oklch(63.4% 0.121 89.8);
Tailwind
colors: {
  custom: {
    50: '#c6a863',
    500: '#a7861c',
    950: '#000000',
  },
}
SCSS
$custom: #a7861c;
$custom-light: #c6a863;
$custom-dark: #000000;
JSON
{
  "hex": "#a7861c",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 45.755,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63387,
    "c": 0.12136,
    "h": 89.8
  },
  "luminance": 0.2535
}

Semantic roles & 50–950 ramp

primary
#A7861C
secondary
#5872C7
accent
#65EE3A
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7861C

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

Preview Lab → · Contrast checker → · Palette generator →

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