#AF7831#AF7831

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

Color values

HEX#AF7831
RGBrgb(175, 120, 49)
HSLhsl(34, 56%, 44%)
HSVhsv(34, 72%, 69%)
CMYKcmyk(0%, 31.4%, 72%, 31.4%)
CIE-LABlab(54.84, 14.83, 46.08)
CIE-LCHlch(54.84, 48.41, 72.16°)
OKLaboklab(61.61% 0.038 0.1033)
OKLCHoklch(61.61% 0.11 69.8)
XYZxyz(24.9518, 22.7708, 5.9862)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7831 #3168AF
analogous
#AF3931 #AF7831 #A7AF31
triadic
#AF7831 #31AF78 #7831AF
tetradic
#AF7831 #31AF39 #3168AF #AF31A7
square
#AF7831 #31AF39 #3168AF #AF31A7
split-complementary
#AF7831 #31A7AF #3931AF
monochromatic
#4F3616 #7F5724 #AF7831 #CE974F #DBB37F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF7831#FFFFFF#000000##000000
##AF78311.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)
#8B7C28
Deuteranopia (green-blind)
#988833
Tritanopia (blue-blind)
#BF6B69
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af7831;
/* rgb */ color: rgb(175, 120, 49);
/* oklch */ color: oklch(61.6% 0.110 69.8);
Tailwind
colors: {
  custom: {
    50: '#cb9f6d',
    500: '#af7831',
    950: '#000000',
  },
}
SCSS
$custom: #af7831;
$custom-light: #cb9f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af7831",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 33.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6161,
    "c": 0.11005,
    "h": 69.8
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#AF7831
secondary
#7899C4
accent
#8AE048
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7831

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

Preview Lab → · Contrast checker → · Palette generator →

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