#A6821F#A6821F

#A6821F is a light, moderate orange. Relative luminance 0.242; OKLCH L 62.5% C 0.118 H 87.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A6821F
RGBrgb(166, 130, 31)
HSLhsl(44, 69%, 39%)
HSVhsv(44, 81%, 65%)
CMYKcmyk(0%, 21.7%, 81.3%, 34.9%)
CIE-LABlab(56.26, 4.37, 54.43)
CIE-LCHlch(56.26, 54.60, 85.40°)
OKLaboklab(62.46% 0.006 0.1177)
OKLCHoklch(62.46% 0.118 87.1)
XYZxyz(23.9574, 24.1729, 4.7001)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6821F #1F43A6
analogous
#A63E1F #A6821F #86A61F
triadic
#A6821F #1FA682 #821FA6
tetradic
#A6821F #1FA63E #1F43A6 #A61F86
square
#A6821F #1FA63E #1F43A6 #A61F86
split-complementary
#A6821F #1F86A6 #3E1FA6
monochromatic
#3F310C #725A15 #A6821F #D7A92B #E1BE5E

Accessibility & contrast

On white

3.60
#A6821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A6821F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6821F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6821F#FFFFFF#000000##000000
##A6821F1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938107
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#B4766F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a6821f;
/* rgb */ color: rgb(166, 130, 31);
/* oklch */ color: oklch(62.5% 0.118 87.1);
Tailwind
colors: {
  custom: {
    50: '#c5a664',
    500: '#a6821f',
    950: '#000000',
  },
}
SCSS
$custom: #a6821f;
$custom-light: #c5a664;
$custom-dark: #000000;
JSON
{
  "hex": "#a6821f",
  "rgb": {
    "r": 166,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 44,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.11783,
    "h": 87.1
  },
  "luminance": 0.24171
}

Semantic roles & 50–950 ramp

primary
#A6821F
secondary
#5B78C5
accent
#6BEB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A6821F

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

Preview Lab → · Contrast checker → · Palette generator →

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