#AF873B#AF873B

#AF873B is a light, moderate orange. Relative luminance 0.268; OKLCH L 64.7% C 0.105 H 81.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF873B
RGBrgb(175, 135, 59)
HSLhsl(39, 50%, 46%)
HSVhsv(39, 66%, 69%)
CMYKcmyk(0%, 22.9%, 66.3%, 31.4%)
CIE-LABlab(58.75, 7.02, 45.56)
CIE-LCHlch(58.75, 46.10, 81.23°)
OKLaboklab(64.7% 0.0165 0.1039)
OKLCHoklch(64.7% 0.105 81)
XYZxyz(27.1342, 26.7595, 7.8728)
Luminance0.2676 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF873B #3B63AF
analogous
#AF4D3B #AF873B #9DAF3B
triadic
#AF873B #3BAF87 #873BAF
tetradic
#AF873B #3BAF4D #3B63AF #AF3B9D
square
#AF873B #3BAF4D #3B63AF #AF3B9D
split-complementary
#AF873B #3B9DAF #4D3BAF
monochromatic
#53401C #81642C #AF873B #C9A45E #D8BE8C

Accessibility & contrast

On white

3.31
#AF873B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AF873B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF873B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF873B#FFFFFF#000000##000000
##AF873B1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978733
Deuteranopia (green-blind)
#A1913E
Tritanopia (blue-blind)
#BD7B77
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #af873b;
/* rgb */ color: rgb(175, 135, 59);
/* oklch */ color: oklch(64.7% 0.105 81.0);
Tailwind
colors: {
  custom: {
    50: '#caa974',
    500: '#af873b',
    950: '#000000',
  },
}
SCSS
$custom: #af873b;
$custom-light: #caa974;
$custom-dark: #000000;
JSON
{
  "hex": "#af873b",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 39.31,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.10525,
    "h": 81
  },
  "luminance": 0.26758
}

Semantic roles & 50–950 ramp

primary
#AF873B
secondary
#8399C3
accent
#7ED94F
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F08
muted
#827F7B

Preview Lab

Preview with #AF873B

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

Preview Lab → · Contrast checker → · Palette generator →

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