#AF7D31#AF7D31

#AF7D31 is a light, moderate orange. Relative luminance 0.240; OKLCH L 62.6% C 0.110 H 74.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF7D31
RGBrgb(175, 125, 49)
HSLhsl(36, 56%, 44%)
HSVhsv(36, 72%, 69%)
CMYKcmyk(0%, 28.6%, 72%, 31.4%)
CIE-LABlab(56.09, 12.03, 47.39)
CIE-LCHlch(56.09, 48.89, 75.76°)
OKLaboklab(62.59% 0.0298 0.1061)
OKLCHoklch(62.59% 0.11 74.3)
XYZxyz(25.5689, 24.0050, 6.1919)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7D31 #3163AF
analogous
#AF3E31 #AF7D31 #A2AF31
triadic
#AF7D31 #31AF7D #7D31AF
tetradic
#AF7D31 #31AF3E #3163AF #AF31A2
square
#AF7D31 #31AF3E #3163AF #AF31A2
split-complementary
#AF7D31 #31A2AF #3E31AF
monochromatic
#4F3916 #7F5B24 #AF7D31 #CE9C4F #DBB77F

Accessibility & contrast

On white

3.62
#AF7D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AF7D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7D31
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7D31#FFFFFF#000000##000000
##AF7D311.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F28
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#BE706D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af7d31;
/* rgb */ color: rgb(175, 125, 49);
/* oklch */ color: oklch(62.6% 0.110 74.3);
Tailwind
colors: {
  custom: {
    50: '#cba26d',
    500: '#af7d31',
    950: '#000000',
  },
}
SCSS
$custom: #af7d31;
$custom-light: #cba26d;
$custom-dark: #000000;
JSON
{
  "hex": "#af7d31",
  "rgb": {
    "r": 175,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 36.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62591,
    "c": 0.11016,
    "h": 74.3
  },
  "luminance": 0.24003
}

Semantic roles & 50–950 ramp

primary
#AF7D31
secondary
#7896C4
accent
#84E048
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140F07
muted
#837E7A

Preview Lab

Preview with #AF7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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