#AF8231#AF8231

#AF8231 is a light, moderate orange. Relative luminance 0.253; OKLCH L 63.6% C 0.111 H 78.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF8231
RGBrgb(175, 130, 49)
HSLhsl(39, 56%, 44%)
HSVhsv(39, 72%, 69%)
CMYKcmyk(0%, 25.7%, 72%, 31.4%)
CIE-LABlab(57.37, 9.23, 48.70)
CIE-LCHlch(57.37, 49.57, 79.27°)
OKLaboklab(63.59% 0.0216 0.1089)
OKLCHoklch(63.59% 0.111 78.8)
XYZxyz(26.2179, 25.3030, 6.4082)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8231 #315EAF
analogous
#AF4331 #AF8231 #9DAF31
triadic
#AF8231 #31AF82 #8231AF
tetradic
#AF8231 #31AF43 #315EAF #AF319D
square
#AF8231 #31AF43 #315EAF #AF319D
split-complementary
#AF8231 #319DAF #4331AF
monochromatic
#4F3B16 #7F5E24 #AF8231 #CEA14F #DBBA7F

Accessibility & contrast

On white

3.47
#AF8231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AF8231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8231
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8231#FFFFFF#000000##000000
##AF82311.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948327
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#BE7571
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af8231;
/* rgb */ color: rgb(175, 130, 49);
/* oklch */ color: oklch(63.6% 0.111 78.8);
Tailwind
colors: {
  custom: {
    50: '#cba66e',
    500: '#af8231',
    950: '#000000',
  },
}
SCSS
$custom: #af8231;
$custom-light: #cba66e;
$custom-dark: #000000;
JSON
{
  "hex": "#af8231",
  "rgb": {
    "r": 175,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 38.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63589,
    "c": 0.11099,
    "h": 78.8
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#AF8231
secondary
#7893C4
accent
#7EE048
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF8231

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

Preview Lab → · Contrast checker → · Palette generator →

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