#AF8A31#AF8A31

#AF8A31 is a light, moderate orange. Relative luminance 0.275; OKLCH L 65.2% C 0.114 H 85.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF8A31
RGBrgb(175, 138, 49)
HSLhsl(42, 56%, 44%)
HSVhsv(42, 72%, 69%)
CMYKcmyk(0%, 21.1%, 72%, 31.4%)
CIE-LABlab(59.45, 4.79, 50.82)
CIE-LCHlch(59.45, 51.05, 84.62°)
OKLaboklab(65.22% 0.0087 0.1134)
OKLCHoklch(65.22% 0.114 85.6)
XYZxyz(27.3237, 27.5145, 6.7768)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8A31 #3156AF
analogous
#AF4B31 #AF8A31 #95AF31
triadic
#AF8A31 #31AF8A #8A31AF
tetradic
#AF8A31 #31AF4B #3156AF #AF3195
square
#AF8A31 #31AF4B #3156AF #AF3195
split-complementary
#AF8A31 #3195AF #4B31AF
monochromatic
#4F3F16 #7F6424 #AF8A31 #CEA94F #DBC07F

Accessibility & contrast

On white

3.23
#AF8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AF8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8A31
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8A31#FFFFFF#000000##000000
##AF8A311.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8925
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#BE7E78
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #af8a31;
/* rgb */ color: rgb(175, 138, 49);
/* oklch */ color: oklch(65.2% 0.114 85.6);
Tailwind
colors: {
  custom: {
    50: '#cbab6e',
    500: '#af8a31',
    950: '#000000',
  },
}
SCSS
$custom: #af8a31;
$custom-light: #cbab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#af8a31",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 42.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6522,
    "c": 0.1137,
    "h": 85.6
  },
  "luminance": 0.27513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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