#AF7B31#AF7B31

#AF7B31 is a light, moderate orange. Relative luminance 0.235; OKLCH L 62.2% C 0.110 H 72.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF7B31
RGBrgb(175, 123, 49)
HSLhsl(35, 56%, 44%)
HSVhsv(35, 72%, 69%)
CMYKcmyk(0%, 29.7%, 72%, 31.4%)
CIE-LABlab(55.59, 13.15, 46.86)
CIE-LCHlch(55.59, 48.67, 74.33°)
OKLaboklab(62.2% 0.0331 0.105)
OKLCHoklch(62.2% 0.11 72.5)
XYZxyz(25.3183, 23.5037, 6.1084)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7B31 #3165AF
analogous
#AF3C31 #AF7B31 #A4AF31
triadic
#AF7B31 #31AF7B #7B31AF
tetradic
#AF7B31 #31AF3C #3165AF #AF31A4
square
#AF7B31 #31AF3C #3165AF #AF31A4
split-complementary
#AF7B31 #31A4AF #3C31AF
monochromatic
#4F3816 #7F5924 #AF7B31 #CE9A4F #DBB57F

Accessibility & contrast

On white

3.68
#AF7B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AF7B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7B31
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7B31#FFFFFF#000000##000000
##AF7B311.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E28
Deuteranopia (green-blind)
#9A8A33
Tritanopia (blue-blind)
#BE6E6B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af7b31;
/* rgb */ color: rgb(175, 123, 49);
/* oklch */ color: oklch(62.2% 0.110 72.5);
Tailwind
colors: {
  custom: {
    50: '#cba16d',
    500: '#af7b31',
    950: '#000000',
  },
}
SCSS
$custom: #af7b31;
$custom-light: #cba16d;
$custom-dark: #000000;
JSON
{
  "hex": "#af7b31",
  "rgb": {
    "r": 175,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 35.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.11004,
    "h": 72.5
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#AF7B31
secondary
#7897C4
accent
#87E048
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7B31

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

Preview Lab → · Contrast checker → · Palette generator →

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