#A6841D#A6841D

#A6841D is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.9% C 0.120 H 88.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A6841D
RGBrgb(166, 132, 29)
HSLhsl(45, 70%, 38%)
HSVhsv(45, 83%, 65%)
CMYKcmyk(0%, 20.5%, 82.5%, 34.9%)
CIE-LABlab(56.78, 3.19, 55.55)
CIE-LCHlch(56.78, 55.64, 86.71°)
OKLaboklab(62.86% 0.0025 0.1197)
OKLCHoklch(62.86% 0.12 88.8)
XYZxyz(24.2004, 24.6999, 4.6551)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6841D #1D3FA6
analogous
#A63F1D #A6841D #83A61D
triadic
#A6841D #1DA684 #841DA6
tetradic
#A6841D #1DA63F #1D3FA6 #A61D83
square
#A6841D #1DA63F #1D3FA6 #A61D83
split-complementary
#A6841D #1D83A6 #3F1DA6
monochromatic
#3E310B #725B14 #A6841D #D9AD27 #E2C15B

Accessibility & contrast

On white

3.54
#A6841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A6841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6841D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6841D#FFFFFF#000000##000000
##A6841D1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958301
Deuteranopia (green-blind)
#9D8C24
Tritanopia (blue-blind)
#B47871
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a6841d;
/* rgb */ color: rgb(166, 132, 29);
/* oklch */ color: oklch(62.9% 0.120 88.8);
Tailwind
colors: {
  custom: {
    50: '#c5a763',
    500: '#a6841d',
    950: '#000000',
  },
}
SCSS
$custom: #a6841d;
$custom-light: #c5a763;
$custom-dark: #000000;
JSON
{
  "hex": "#a6841d",
  "rgb": {
    "r": 166,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 45.109,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62864,
    "c": 0.11969,
    "h": 88.8
  },
  "luminance": 0.24698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6841D

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

Preview Lab → · Contrast checker → · Palette generator →

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