#AF7931#AF7931

#AF7931 is a mid, moderate orange. Relative luminance 0.230; OKLCH L 61.8% C 0.110 H 70.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF7931
RGBrgb(175, 121, 49)
HSLhsl(34, 56%, 44%)
HSVhsv(34, 72%, 69%)
CMYKcmyk(0%, 30.9%, 72%, 31.4%)
CIE-LABlab(55.09, 14.27, 46.34)
CIE-LCHlch(55.09, 48.49, 72.89°)
OKLaboklab(61.81% 0.0364 0.1038)
OKLCHoklch(61.81% 0.11 70.7)
XYZxyz(25.0727, 23.0126, 6.0265)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7931 #3167AF
analogous
#AF3A31 #AF7931 #A6AF31
triadic
#AF7931 #31AF79 #7931AF
tetradic
#AF7931 #31AF3A #3167AF #AF31A6
square
#AF7931 #31AF3A #3167AF #AF31A6
split-complementary
#AF7931 #31A6AF #3A31AF
monochromatic
#4F3716 #7F5824 #AF7931 #CE984F #DBB47F

Accessibility & contrast

On white

3.75
#AF7931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AF7931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7931
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7931#FFFFFF#000000##000000
##AF79311.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C28
Deuteranopia (green-blind)
#988933
Tritanopia (blue-blind)
#BF6C6A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7931;
/* rgb */ color: rgb(175, 121, 49);
/* oklch */ color: oklch(61.8% 0.110 70.7);
Tailwind
colors: {
  custom: {
    50: '#cb9f6d',
    500: '#af7931',
    950: '#000000',
  },
}
SCSS
$custom: #af7931;
$custom-light: #cb9f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af7931",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 34.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.11002,
    "h": 70.7
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#AF7931
secondary
#7898C4
accent
#89E048
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7931

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

Preview Lab → · Contrast checker → · Palette generator →

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