#AF782B#AF782B

#AF782B is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.6% C 0.114 H 71.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF782B
RGBrgb(175, 120, 43)
HSLhsl(35, 61%, 43%)
HSVhsv(35, 75%, 69%)
CMYKcmyk(0%, 31.4%, 75.4%, 31.4%)
CIE-LABlab(54.79, 14.53, 48.73)
CIE-LCHlch(54.79, 50.85, 73.39°)
OKLaboklab(61.56% 0.0363 0.1077)
OKLCHoklch(61.56% 0.114 71.4)
XYZxyz(24.8335, 22.7235, 5.3632)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF782B #2B62AF
analogous
#AF362B #AF782B #A4AF2B
triadic
#AF782B #2BAF78 #782BAF
tetradic
#AF782B #2BAF36 #2B62AF #AF2BA4
square
#AF782B #2BAF36 #2B62AF #AF2BA4
split-complementary
#AF782B #2BA4AF #362BAF
monochromatic
#4D3513 #7E561F #AF782B #D19746 #DEB377

Accessibility & contrast

On white

3.79
#AF782B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AF782B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF782B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF782B#FFFFFF#000000##000000
##AF782B1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#BF6A68
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af782b;
/* rgb */ color: rgb(175, 120, 43);
/* oklch */ color: oklch(61.6% 0.114 71.4);
Tailwind
colors: {
  custom: {
    50: '#cc9f69',
    500: '#af782b',
    950: '#000000',
  },
}
SCSS
$custom: #af782b;
$custom-light: #cc9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#af782b",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 35,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.11364,
    "h": 71.4
  },
  "luminance": 0.22721
}

Semantic roles & 50–950 ramp

primary
#AF782B
secondary
#7094C5
accent
#87E444
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF782B

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

Preview Lab → · Contrast checker → · Palette generator →

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