#AF7E31#AF7E31

#AF7E31 is a light, moderate orange. Relative luminance 0.243; OKLCH L 62.8% C 0.110 H 75.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF7E31
RGBrgb(175, 126, 49)
HSLhsl(37, 56%, 44%)
HSVhsv(37, 72%, 69%)
CMYKcmyk(0%, 28%, 72%, 31.4%)
CIE-LABlab(56.35, 11.47, 47.65)
CIE-LCHlch(56.35, 49.01, 76.47°)
OKLaboklab(62.79% 0.0282 0.1066)
OKLCHoklch(62.79% 0.11 75.2)
XYZxyz(25.6962, 24.2595, 6.2343)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7E31 #3162AF
analogous
#AF3F31 #AF7E31 #A1AF31
triadic
#AF7E31 #31AF7E #7E31AF
tetradic
#AF7E31 #31AF3F #3162AF #AF31A1
square
#AF7E31 #31AF3F #3162AF #AF31A1
split-complementary
#AF7E31 #31A1AF #3F31AF
monochromatic
#4F3916 #7F5C24 #AF7E31 #CE9D4F #DBB77F

Accessibility & contrast

On white

3.59
#AF7E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF7E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7E31
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7E31#FFFFFF#000000##000000
##AF7E311.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#9B8C33
Tritanopia (blue-blind)
#BE716E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af7e31;
/* rgb */ color: rgb(175, 126, 49);
/* oklch */ color: oklch(62.8% 0.110 75.2);
Tailwind
colors: {
  custom: {
    50: '#cba36d',
    500: '#af7e31',
    950: '#000000',
  },
}
SCSS
$custom: #af7e31;
$custom-light: #cba36d;
$custom-dark: #000000;
JSON
{
  "hex": "#af7e31",
  "rgb": {
    "r": 175,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 36.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.11027,
    "h": 75.2
  },
  "luminance": 0.24257
}

Semantic roles & 50–950 ramp

primary
#AF7E31
secondary
#7895C4
accent
#83E048
background
#FDFAF6
surface
#FAF3EC
border
#D3CDC7
text
#140F07
muted
#837F7A

Preview Lab

Preview with #AF7E31

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

Preview Lab → · Contrast checker → · Palette generator →

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