#AF8D31#AF8D31

#AF8D31 is a light, moderate orange. Relative luminance 0.284; OKLCH L 65.8% C 0.115 H 88.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AF8D31
RGBrgb(175, 141, 49)
HSLhsl(44, 56%, 44%)
HSVhsv(44, 72%, 69%)
CMYKcmyk(0%, 19.4%, 72%, 31.4%)
CIE-LABlab(60.24, 3.13, 51.62)
CIE-LCHlch(60.24, 51.72, 86.53°)
OKLaboklab(65.84% 0.004 0.1151)
OKLCHoklch(65.84% 0.115 88)
XYZxyz(27.7600, 28.3872, 6.9223)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8D31 #3153AF
analogous
#AF4E31 #AF8D31 #92AF31
triadic
#AF8D31 #31AF8D #8D31AF
tetradic
#AF8D31 #31AF4E #3153AF #AF3192
square
#AF8D31 #31AF4E #3153AF #AF3192
split-complementary
#AF8D31 #3192AF #4E31AF
monochromatic
#4F4016 #7F6624 #AF8D31 #CEAC4F #DBC27F

Accessibility & contrast

On white

3.15
#AF8D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AF8D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8D31
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8D31#FFFFFF#000000##000000
##AF8D311.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C24
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#BE817A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af8d31;
/* rgb */ color: rgb(175, 141, 49);
/* oklch */ color: oklch(65.8% 0.115 88.0);
Tailwind
colors: {
  custom: {
    50: '#cbae6f',
    500: '#af8d31',
    950: '#000000',
  },
}
SCSS
$custom: #af8d31;
$custom-light: #cbae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af8d31",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 43.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65841,
    "c": 0.11512,
    "h": 88
  },
  "luminance": 0.28385
}

Semantic roles & 50–950 ramp

primary
#AF8D31
secondary
#788CC4
accent
#71E048
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141008
muted
#837F7B

Preview Lab

Preview with #AF8D31

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

Preview Lab → · Contrast checker → · Palette generator →

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