#A7841F#A7841F

#A7841F is a light, moderate orange. Relative luminance 0.248; OKLCH L 63.0% C 0.119 H 88.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A7841F
RGBrgb(167, 132, 31)
HSLhsl(45, 69%, 39%)
HSVhsv(45, 81%, 65%)
CMYKcmyk(0%, 21%, 81.4%, 34.5%)
CIE-LABlab(56.90, 3.72, 55.04)
CIE-LCHlch(56.90, 55.16, 86.14°)
OKLaboklab(62.98% 0.0041 0.1189)
OKLCHoklch(62.98% 0.119 88)
XYZxyz(24.4365, 24.8186, 4.7995)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7841F #1F42A7
analogous
#A7401F #A7841F #86A71F
triadic
#A7841F #1FA784 #841FA7
tetradic
#A7841F #1FA740 #1F42A7 #A71F86
square
#A7841F #1FA740 #1F42A7 #A71F86
split-complementary
#A7841F #1F86A7 #401FA7
monochromatic
#40320C #735B15 #A7841F #D8AB2B #E1C05F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7841F#FFFFFF#000000##000000
##A7841F1.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)
#958306
Deuteranopia (green-blind)
#9D8C25
Tritanopia (blue-blind)
#B67871
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a7841f;
/* rgb */ color: rgb(167, 132, 31);
/* oklch */ color: oklch(63.0% 0.119 88.0);
Tailwind
colors: {
  custom: {
    50: '#c6a764',
    500: '#a7841f',
    950: '#000000',
  },
}
SCSS
$custom: #a7841f;
$custom-light: #c6a764;
$custom-dark: #000000;
JSON
{
  "hex": "#a7841f",
  "rgb": {
    "r": 167,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 44.559,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62984,
    "c": 0.11901,
    "h": 88
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

primary
#A7841F
secondary
#5C77C6
accent
#69EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #A7841F

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

Preview Lab → · Contrast checker → · Palette generator →

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