#AF7231#AF7231

#AF7231 is a mid, moderate orange. Relative luminance 0.214; OKLCH L 60.5% C 0.111 H 64.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF7231
RGBrgb(175, 114, 49)
HSLhsl(31, 56%, 44%)
HSVhsv(31, 72%, 69%)
CMYKcmyk(0%, 34.9%, 72%, 31.4%)
CIE-LABlab(53.35, 18.19, 44.53)
CIE-LCHlch(53.35, 48.10, 67.78°)
OKLaboklab(60.46% 0.0479 0.1)
OKLCHoklch(60.46% 0.111 64.4)
XYZxyz(24.2527, 21.3726, 5.7532)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7231 #316EAF
analogous
#AF3331 #AF7231 #ADAF31
triadic
#AF7231 #31AF72 #7231AF
tetradic
#AF7231 #31AF33 #316EAF #AF31AD
square
#AF7231 #31AF33 #316EAF #AF31AD
split-complementary
#AF7231 #31ADAF #3331AF
monochromatic
#4F3416 #7F5324 #AF7231 #CE914F #DBAF7F

Accessibility & contrast

On white

3.98
#AF7231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#AF7231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7231
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7231#FFFFFF#000000##000000
##AF72311.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857729
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#BF6464
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af7231;
/* rgb */ color: rgb(175, 114, 49);
/* oklch */ color: oklch(60.5% 0.111 64.4);
Tailwind
colors: {
  custom: {
    50: '#cc9a6c',
    500: '#af7231',
    950: '#000000',
  },
}
SCSS
$custom: #af7231;
$custom-light: #cc9a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#af7231",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 30.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.11088,
    "h": 64.4
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#AF7231
secondary
#789DC4
accent
#91E048
background
#FDF9F6
surface
#FAF2EC
border
#D3CCC7
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF7231

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

Preview Lab → · Contrast checker → · Palette generator →

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