#AF8B31#AF8B31

#AF8B31 is a light, moderate orange. Relative luminance 0.278; OKLCH L 65.4% C 0.114 H 86.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF8B31
RGBrgb(175, 139, 49)
HSLhsl(43, 56%, 44%)
HSVhsv(43, 72%, 69%)
CMYKcmyk(0%, 20.6%, 72%, 31.4%)
CIE-LABlab(59.71, 4.23, 51.09)
CIE-LCHlch(59.71, 51.26, 85.26°)
OKLaboklab(65.43% 0.0071 0.1139)
OKLCHoklch(65.43% 0.114 86.4)
XYZxyz(27.4678, 27.8028, 6.8249)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8B31 #3155AF
analogous
#AF4C31 #AF8B31 #94AF31
triadic
#AF8B31 #31AF8B #8B31AF
tetradic
#AF8B31 #31AF4C #3155AF #AF3194
square
#AF8B31 #31AF4C #3155AF #AF3194
split-complementary
#AF8B31 #3194AF #4C31AF
monochromatic
#4F3F16 #7F6524 #AF8B31 #CEAA4F #DBC17F

Accessibility & contrast

On white

3.20
#AF8B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AF8B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8B31
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8B31#FFFFFF#000000##000000
##AF8B311.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A25
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#BE7F79
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af8b31;
/* rgb */ color: rgb(175, 139, 49);
/* oklch */ color: oklch(65.4% 0.114 86.4);
Tailwind
colors: {
  custom: {
    50: '#cbac6e',
    500: '#af8b31',
    950: '#000000',
  },
}
SCSS
$custom: #af8b31;
$custom-light: #cbac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af8b31",
  "rgb": {
    "r": 175,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 42.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65427,
    "c": 0.11414,
    "h": 86.4
  },
  "luminance": 0.27801
}

Semantic roles & 50–950 ramp

primary
#AF8B31
secondary
#788EC4
accent
#73E048
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8B31

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

Preview Lab → · Contrast checker → · Palette generator →

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