#A6841E#A6841E

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

Color values

HEX#A6841E
RGBrgb(166, 132, 30)
HSLhsl(45, 69%, 38%)
HSVhsv(45, 82%, 65%)
CMYKcmyk(0%, 20.5%, 81.9%, 34.9%)
CIE-LABlab(56.79, 3.23, 55.23)
CIE-LCHlch(56.79, 55.32, 86.66°)
OKLaboklab(62.87% 0.0026 0.1192)
OKLCHoklch(62.87% 0.119 88.7)
XYZxyz(24.2130, 24.7049, 4.7213)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6841E #1E40A6
analogous
#A6401E #A6841E #84A61E
triadic
#A6841E #1EA684 #841EA6
tetradic
#A6841E #1EA640 #1E40A6 #A61E84
square
#A6841E #1EA640 #1E40A6 #A61E84
split-complementary
#A6841E #1E84A6 #401EA6
monochromatic
#3E320B #725B15 #A6841E #D8AC29 #E2C05D

Accessibility & contrast

On white

3.53
#A6841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6841E#FFFFFF#000000##000000
##A6841E1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6841e;
/* rgb */ color: rgb(166, 132, 30);
/* oklch */ color: oklch(62.9% 0.119 88.7);
Tailwind
colors: {
  custom: {
    50: '#c5a764',
    500: '#a6841e',
    950: '#000000',
  },
}
SCSS
$custom: #a6841e;
$custom-light: #c5a764;
$custom-dark: #000000;
JSON
{
  "hex": "#a6841e",
  "rgb": {
    "r": 166,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 45,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6287,
    "c": 0.11922,
    "h": 88.7
  },
  "luminance": 0.24703
}

Semantic roles & 50–950 ramp

primary
#A6841E
secondary
#5A75C6
accent
#68EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A6841E

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

Preview Lab → · Contrast checker → · Palette generator →

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