#AF7C31#AF7C31

#AF7C31 is a light, moderate orange. Relative luminance 0.238; OKLCH L 62.4% C 0.110 H 73.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF7C31
RGBrgb(175, 124, 49)
HSLhsl(36, 56%, 44%)
HSVhsv(36, 72%, 69%)
CMYKcmyk(0%, 29.1%, 72%, 31.4%)
CIE-LABlab(55.84, 12.59, 47.13)
CIE-LCHlch(55.84, 48.78, 75.05°)
OKLaboklab(62.39% 0.0314 0.1055)
OKLCHoklch(62.39% 0.11 73.4)
XYZxyz(25.4430, 23.7531, 6.1499)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7C31 #3164AF
analogous
#AF3D31 #AF7C31 #A3AF31
triadic
#AF7C31 #31AF7C #7C31AF
tetradic
#AF7C31 #31AF3D #3164AF #AF31A3
square
#AF7C31 #31AF3D #3164AF #AF31A3
split-complementary
#AF7C31 #31A3AF #3D31AF
monochromatic
#4F3816 #7F5A24 #AF7C31 #CE9B4F #DBB67F

Accessibility & contrast

On white

3.65
#AF7C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AF7C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7C31
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7C31#FFFFFF#000000##000000
##AF7C311.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F28
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#BE6F6C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af7c31;
/* rgb */ color: rgb(175, 124, 49);
/* oklch */ color: oklch(62.4% 0.110 73.4);
Tailwind
colors: {
  custom: {
    50: '#cba16d',
    500: '#af7c31',
    950: '#000000',
  },
}
SCSS
$custom: #af7c31;
$custom-light: #cba16d;
$custom-dark: #000000;
JSON
{
  "hex": "#af7c31",
  "rgb": {
    "r": 175,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 35.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62393,
    "c": 0.11009,
    "h": 73.4
  },
  "luminance": 0.23751
}

Semantic roles & 50–950 ramp

primary
#AF7C31
secondary
#7897C4
accent
#85E048
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140F07
muted
#837E7A

Preview Lab

Preview with #AF7C31

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

Preview Lab → · Contrast checker → · Palette generator →

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