#AF782F#AF782F

#AF782F is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.6% C 0.111 H 70.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF782F
RGBrgb(175, 120, 47)
HSLhsl(34, 58%, 44%)
HSVhsv(34, 73%, 69%)
CMYKcmyk(0%, 31.4%, 73.1%, 31.4%)
CIE-LABlab(54.82, 14.72, 46.98)
CIE-LCHlch(54.82, 49.24, 72.60°)
OKLaboklab(61.59% 0.0374 0.1048)
OKLCHoklch(61.59% 0.111 70.3)
XYZxyz(24.9105, 22.7543, 5.7688)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF782F #2F66AF
analogous
#AF382F #AF782F #A6AF2F
triadic
#AF782F #2FAF78 #782FAF
tetradic
#AF782F #2FAF38 #2F66AF #AF2FA6
square
#AF782F #2FAF38 #2F66AF #AF2FA6
split-complementary
#AF782F #2FA6AF #382FAF
monochromatic
#4F3615 #7F5722 #AF782F #CF974C #DCB37C

Accessibility & contrast

On white

3.78
#AF782F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AF782F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF782F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF782F#FFFFFF#000000##000000
##AF782F1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B26
Deuteranopia (green-blind)
#988831
Tritanopia (blue-blind)
#BF6A69
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af782f;
/* rgb */ color: rgb(175, 120, 47);
/* oklch */ color: oklch(61.6% 0.111 70.3);
Tailwind
colors: {
  custom: {
    50: '#cb9f6c',
    500: '#af782f',
    950: '#000000',
  },
}
SCSS
$custom: #af782f;
$custom-light: #cb9f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#af782f",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 34.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.61591,
    "c": 0.11129,
    "h": 70.3
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#AF782F
secondary
#7597C4
accent
#89E147
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF782F

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

Preview Lab → · Contrast checker → · Palette generator →

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