#AF873F#AF873F

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

Color values

HEX#AF873F
RGBrgb(175, 135, 63)
HSLhsl(39, 47%, 47%)
HSVhsv(39, 64%, 69%)
CMYKcmyk(0%, 22.9%, 64%, 31.4%)
CIE-LABlab(58.79, 7.29, 43.67)
CIE-LCHlch(58.79, 44.28, 80.53°)
OKLaboklab(64.74% 0.0179 0.1005)
OKLCHoklch(64.74% 0.102 79.9)
XYZxyz(27.2419, 26.8026, 8.4403)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF873F #3F67AF
analogous
#AF4F3F #AF873F #9FAF3F
triadic
#AF873F #3FAF87 #873FAF
tetradic
#AF873F #3FAF4F #3F67AF #AF3F9F
square
#AF873F #3FAF4F #3F67AF #AF3F9F
split-complementary
#AF873F #3F9FAF #4F3FAF
monochromatic
#55421F #82642F #AF873F #C7A464 #D7BE91

Accessibility & contrast

On white

3.30
#AF873F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AF873F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF873F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF873F#FFFFFF#000000##000000
##AF873F1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af873f;
/* rgb */ color: rgb(175, 135, 63);
/* oklch */ color: oklch(64.7% 0.102 79.9);
Tailwind
colors: {
  custom: {
    50: '#caa977',
    500: '#af873f',
    950: '#000000',
  },
}
SCSS
$custom: #af873f;
$custom-light: #caa977;
$custom-dark: #000000;
JSON
{
  "hex": "#af873f",
  "rgb": {
    "r": 175,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 38.571,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.64745,
    "c": 0.10208,
    "h": 79.9
  },
  "luminance": 0.26801
}

Semantic roles & 50–950 ramp

primary
#AF873F
secondary
#879CC3
accent
#81D751
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B

Preview Lab

Preview with #AF873F

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

Preview Lab → · Contrast checker → · Palette generator →

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