#A7841B#A7841B

#A7841B is a light, vivid yellow. Relative luminance 0.248; OKLCH L 63.0% C 0.121 H 88.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A7841B
RGBrgb(167, 132, 27)
HSLhsl(45, 72%, 38%)
HSVhsv(45, 84%, 65%)
CMYKcmyk(0%, 21%, 83.8%, 34.5%)
CIE-LABlab(56.88, 3.59, 56.31)
CIE-LCHlch(56.88, 56.42, 86.36°)
OKLaboklab(62.96% 0.0033 0.1208)
OKLCHoklch(62.96% 0.121 88.4)
XYZxyz(24.3870, 24.7988, 4.5389)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7841B #1B3EA7
analogous
#A73E1B #A7841B #84A71B
triadic
#A7841B #1BA784 #841BA7
tetradic
#A7841B #1BA73E #1B3EA7 #A71B84
square
#A7841B #1BA73E #1B3EA7 #A71B84
split-complementary
#A7841B #1B84A7 #3E1BA7
monochromatic
#3E310A #725A12 #A7841B #DCAE24 #E4C158

Accessibility & contrast

On white

3.52
#A7841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A7841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7841B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7841B#FFFFFF#000000##000000
##A7841B1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9D8C22
Tritanopia (blue-blind)
#B67771
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a7841b;
/* rgb */ color: rgb(167, 132, 27);
/* oklch */ color: oklch(63.0% 0.121 88.4);
Tailwind
colors: {
  custom: {
    50: '#c6a762',
    500: '#a7841b',
    950: '#000000',
  },
}
SCSS
$custom: #a7841b;
$custom-light: #c6a762;
$custom-dark: #000000;
JSON
{
  "hex": "#a7841b",
  "rgb": {
    "r": 167,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 45,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62962,
    "c": 0.12085,
    "h": 88.4
  },
  "luminance": 0.24797
}

Semantic roles & 50–950 ramp

primary
#A7841B
secondary
#5673C8
accent
#66EF39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7841B

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

Preview Lab → · Contrast checker → · Palette generator →

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