#A7791F#A7791F

#A7791F is a mid, moderate orange. Relative luminance 0.220; OKLCH L 60.7% C 0.115 H 79.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A7791F
RGBrgb(167, 121, 31)
HSLhsl(40, 69%, 39%)
HSVhsv(40, 81%, 65%)
CMYKcmyk(0%, 27.5%, 81.4%, 34.5%)
CIE-LABlab(54.02, 9.88, 52.46)
CIE-LCHlch(54.02, 53.39, 79.33°)
OKLaboklab(60.72% 0.0218 0.1134)
OKLCHoklch(60.72% 0.115 79.1)
XYZxyz(23.0227, 21.9910, 4.3282)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7791F #1F4DA7
analogous
#A7351F #A7791F #91A71F
triadic
#A7791F #1FA779 #791FA7
tetradic
#A7791F #1FA735 #1F4DA7 #A71F91
square
#A7791F #1FA735 #1F4DA7 #A71F91
split-complementary
#A7791F #1F91A7 #351FA7
monochromatic
#402E0C #735415 #A7791F #D89D2B #E1B55F

Accessibility & contrast

On white

3.89
#A7791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A7791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A7791F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7791F#FFFFFF#000000##000000
##A7791F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0C
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#B66C68
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a7791f;
/* rgb */ color: rgb(167, 121, 31);
/* oklch */ color: oklch(60.7% 0.115 79.1);
Tailwind
colors: {
  custom: {
    50: '#c69f63',
    500: '#a7791f',
    950: '#000000',
  },
}
SCSS
$custom: #a7791f;
$custom-light: #c69f63;
$custom-dark: #000000;
JSON
{
  "hex": "#a7791f",
  "rgb": {
    "r": 167,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 39.706,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60722,
    "c": 0.11544,
    "h": 79.1
  },
  "luminance": 0.21989
}

Semantic roles & 50–950 ramp

primary
#A7791F
secondary
#5C80C6
accent
#78EC3C
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E06
muted
#827E7A

Preview Lab

Preview with #A7791F

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

Preview Lab → · Contrast checker → · Palette generator →

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