#A7851C#A7851C

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

Color values

HEX#A7851C
RGBrgb(167, 133, 28)
HSLhsl(45, 71%, 38%)
HSVhsv(45, 83%, 65%)
CMYKcmyk(0%, 20.4%, 83.2%, 34.5%)
CIE-LABlab(57.15, 3.06, 56.23)
CIE-LCHlch(57.15, 56.31, 86.88°)
OKLaboklab(63.18% 0.0019 0.1209)
OKLCHoklch(63.18% 0.121 89.1)
XYZxyz(24.5350, 25.0761, 4.6463)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7851C #1C3EA7
analogous
#A7401C #A7851C #83A71C
triadic
#A7851C #1CA785 #851CA7
tetradic
#A7851C #1CA740 #1C3EA7 #A71C83
square
#A7851C #1CA740 #1C3EA7 #A71C83
split-complementary
#A7851C #1C83A7 #401CA7
monochromatic
#3E320A #735B13 #A7851C #DBAE26 #E3C25A

Accessibility & contrast

On white

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

On black

6.01
#A7851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7851C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7851C#FFFFFF#000000##000000
##A7851C1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7851c;
/* rgb */ color: rgb(167, 133, 28);
/* oklch */ color: oklch(63.2% 0.121 89.1);
Tailwind
colors: {
  custom: {
    50: '#c6a863',
    500: '#a7851c',
    950: '#000000',
  },
}
SCSS
$custom: #a7851c;
$custom-light: #c6a863;
$custom-dark: #000000;
JSON
{
  "hex": "#a7851c",
  "rgb": {
    "r": 167,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 45.324,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63177,
    "c": 0.12088,
    "h": 89.1
  },
  "luminance": 0.25074
}

Semantic roles & 50–950 ramp

primary
#A7851C
secondary
#5873C7
accent
#66EE3A
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7851C

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

Preview Lab → · Contrast checker → · Palette generator →

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