#A7851D#A7851D

#A7851D is a light, vivid yellow. Relative luminance 0.251; OKLCH L 63.2% C 0.120 H 89.0°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A7851D
RGBrgb(167, 133, 29)
HSLhsl(45, 70%, 38%)
HSVhsv(45, 83%, 65%)
CMYKcmyk(0%, 20.4%, 82.6%, 34.5%)
CIE-LABlab(57.15, 3.09, 55.92)
CIE-LCHlch(57.15, 56.00, 86.83°)
OKLaboklab(63.18% 0.0021 0.1204)
OKLCHoklch(63.18% 0.12 89)
XYZxyz(24.5472, 25.0809, 4.7104)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7851D #1D3FA7
analogous
#A7401D #A7851D #84A71D
triadic
#A7851D #1DA785 #851DA7
tetradic
#A7851D #1DA740 #1D3FA7 #A71D84
square
#A7851D #1DA740 #1D3FA7 #A71D84
split-complementary
#A7851D #1D84A7 #401DA7
monochromatic
#3F320B #735B14 #A7851D #DAAE28 #E3C15C

Accessibility & contrast

On white

3.49
#A7851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A7851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7851D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7851D#FFFFFF#000000##000000
##A7851D1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#9E8D24
Tritanopia (blue-blind)
#B67972
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a7851d;
/* rgb */ color: rgb(167, 133, 29);
/* oklch */ color: oklch(63.2% 0.120 89.0);
Tailwind
colors: {
  custom: {
    50: '#c6a863',
    500: '#a7851d',
    950: '#000000',
  },
}
SCSS
$custom: #a7851d;
$custom-light: #c6a863;
$custom-dark: #000000;
JSON
{
  "hex": "#a7851d",
  "rgb": {
    "r": 167,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 45.217,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63182,
    "c": 0.12042,
    "h": 89
  },
  "luminance": 0.25079
}

Semantic roles & 50–950 ramp

primary
#A7851D
secondary
#5974C7
accent
#67ED3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7851D

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

Preview Lab → · Contrast checker → · Palette generator →

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