#AF8431#AF8431

#AF8431 is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.0% C 0.112 H 80.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF8431
RGBrgb(175, 132, 49)
HSLhsl(40, 56%, 44%)
HSVhsv(40, 72%, 69%)
CMYKcmyk(0%, 24.6%, 72%, 31.4%)
CIE-LABlab(57.89, 8.12, 49.23)
CIE-LCHlch(57.89, 49.90, 80.64°)
OKLaboklab(63.99% 0.0184 0.11)
OKLCHoklch(63.99% 0.112 80.5)
XYZxyz(26.4865, 25.8402, 6.4978)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8431 #315CAF
analogous
#AF4531 #AF8431 #9BAF31
triadic
#AF8431 #31AF84 #8431AF
tetradic
#AF8431 #31AF45 #315CAF #AF319B
square
#AF8431 #31AF45 #315CAF #AF319B
split-complementary
#AF8431 #319BAF #4531AF
monochromatic
#4F3C16 #7F6024 #AF8431 #CEA34F #DBBC7F

Accessibility & contrast

On white

3.40
#AF8431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AF8431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8431
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8431#FFFFFF#000000##000000
##AF84311.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958526
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#BE7773
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af8431;
/* rgb */ color: rgb(175, 132, 49);
/* oklch */ color: oklch(64.0% 0.112 80.5);
Tailwind
colors: {
  custom: {
    50: '#cba76e',
    500: '#af8431',
    950: '#000000',
  },
}
SCSS
$custom: #af8431;
$custom-light: #cba76e;
$custom-dark: #000000;
JSON
{
  "hex": "#af8431",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 39.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63993,
    "c": 0.11151,
    "h": 80.5
  },
  "luminance": 0.25838
}

Semantic roles & 50–950 ramp

primary
#AF8431
secondary
#7892C4
accent
#7CE048
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF8431

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

Preview Lab → · Contrast checker → · Palette generator →

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