#A6781B#A6781B

#A6781B is a mid, moderate orange. Relative luminance 0.216; OKLCH L 60.4% C 0.117 H 79.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A6781B
RGBrgb(166, 120, 27)
HSLhsl(40, 72%, 38%)
HSVhsv(40, 84%, 65%)
CMYKcmyk(0%, 27.7%, 83.7%, 34.9%)
CIE-LABlab(53.62, 9.86, 53.46)
CIE-LCHlch(53.62, 54.36, 79.55°)
OKLaboklab(60.38% 0.0214 0.1146)
OKLCHoklch(60.38% 0.117 79.4)
XYZxyz(22.6418, 21.6209, 4.0175)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6781B #1B49A6
analogous
#A6321B #A6781B #8EA61B
triadic
#A6781B #1BA678 #781BA6
tetradic
#A6781B #1BA632 #1B49A6 #A61B8E
square
#A6781B #1BA632 #1B49A6 #A61B8E
split-complementary
#A6781B #1B8EA6 #321BA6
monochromatic
#3D2C0A #715212 #A6781B #DB9E24 #E4B558

Accessibility & contrast

On white

3.94
#A6781B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A6781B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6781B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6781B#FFFFFF#000000##000000
##A6781B1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7903
Deuteranopia (green-blind)
#958520
Tritanopia (blue-blind)
#B56B67
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a6781b;
/* rgb */ color: rgb(166, 120, 27);
/* oklch */ color: oklch(60.4% 0.117 79.4);
Tailwind
colors: {
  custom: {
    50: '#c59e61',
    500: '#a6781b',
    950: '#000000',
  },
}
SCSS
$custom: #a6781b;
$custom-light: #c59e61;
$custom-dark: #000000;
JSON
{
  "hex": "#a6781b",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 40.144,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.1166,
    "h": 79.4
  },
  "luminance": 0.21619
}

Semantic roles & 50–950 ramp

primary
#A6781B
secondary
#567BC7
accent
#75EF39
background
#FCF9F6
surface
#F9F2EB
border
#D2CCC6
text
#140E05
muted
#827E7A

Preview Lab

Preview with #A6781B

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

Preview Lab → · Contrast checker → · Palette generator →

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