#A8781B#A8781B

#A8781B is a mid, moderate orange. Relative luminance 0.218; OKLCH L 60.6% C 0.118 H 78.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A8781B
RGBrgb(168, 120, 27)
HSLhsl(40, 72%, 38%)
HSVhsv(40, 84%, 66%)
CMYKcmyk(0%, 28.6%, 83.9%, 34.1%)
CIE-LABlab(53.86, 10.77, 53.75)
CIE-LCHlch(53.86, 54.82, 78.67°)
OKLaboklab(60.61% 0.0239 0.1151)
OKLCHoklch(60.61% 0.118 78.3)
XYZxyz(23.0644, 21.8388, 4.0373)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8781B #1B4BA8
analogous
#A8311B #A8781B #92A81B
triadic
#A8781B #1BA878 #781BA8
tetradic
#A8781B #1BA831 #1B4BA8 #A81B92
square
#A8781B #1BA831 #1B4BA8 #A81B92
split-complementary
#A8781B #1B92A8 #311BA8
monochromatic
#3F2D0A #735213 #A8781B #DC9D24 #E4B559

Accessibility & contrast

On white

3.91
#A8781B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A8781B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8781B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8781B#FFFFFF#000000##000000
##A8781B1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A03
Deuteranopia (green-blind)
#96861F
Tritanopia (blue-blind)
#B76B67
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a8781b;
/* rgb */ color: rgb(168, 120, 27);
/* oklch */ color: oklch(60.6% 0.118 78.3);
Tailwind
colors: {
  custom: {
    50: '#c79e61',
    500: '#a8781b',
    950: '#000000',
  },
}
SCSS
$custom: #a8781b;
$custom-light: #c79e61;
$custom-dark: #000000;
JSON
{
  "hex": "#a8781b",
  "rgb": {
    "r": 168,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 39.574,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60615,
    "c": 0.11758,
    "h": 78.3
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#A8781B
secondary
#577DC8
accent
#77EF39
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A8781B

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

Preview Lab → · Contrast checker → · Palette generator →

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