#AF7A31#AF7A31

#AF7A31 is a light, moderate orange. Relative luminance 0.233; OKLCH L 62.0% C 0.110 H 71.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF7A31
RGBrgb(175, 122, 49)
HSLhsl(35, 56%, 44%)
HSVhsv(35, 72%, 69%)
CMYKcmyk(0%, 30.3%, 72%, 31.4%)
CIE-LABlab(55.34, 13.71, 46.60)
CIE-LCHlch(55.34, 48.58, 73.61°)
OKLaboklab(62% 0.0347 0.1044)
OKLCHoklch(62% 0.11 71.6)
XYZxyz(25.1949, 23.2569, 6.0672)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7A31 #3166AF
analogous
#AF3B31 #AF7A31 #A5AF31
triadic
#AF7A31 #31AF7A #7A31AF
tetradic
#AF7A31 #31AF3B #3166AF #AF31A5
square
#AF7A31 #31AF3B #3166AF #AF31A5
split-complementary
#AF7A31 #31A5AF #3B31AF
monochromatic
#4F3716 #7F5924 #AF7A31 #CE994F #DBB57F

Accessibility & contrast

On white

3.72
#AF7A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AF7A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7A31
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7A31#FFFFFF#000000##000000
##AF7A311.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#BE6D6B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #af7a31;
/* rgb */ color: rgb(175, 122, 49);
/* oklch */ color: oklch(62.0% 0.110 71.6);
Tailwind
colors: {
  custom: {
    50: '#cba06d',
    500: '#af7a31',
    950: '#000000',
  },
}
SCSS
$custom: #af7a31;
$custom-light: #cba06d;
$custom-dark: #000000;
JSON
{
  "hex": "#af7a31",
  "rgb": {
    "r": 175,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 34.762,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62,
    "c": 0.11001,
    "h": 71.6
  },
  "luminance": 0.23255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF7A31

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

Preview Lab → · Contrast checker → · Palette generator →

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