#AF712F#AF712F

#AF712F is a mid, moderate orange. Relative luminance 0.211; OKLCH L 60.3% C 0.112 H 64.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF712F
RGBrgb(175, 113, 47)
HSLhsl(31, 58%, 44%)
HSVhsv(31, 73%, 69%)
CMYKcmyk(0%, 35.4%, 73.1%, 31.4%)
CIE-LABlab(53.09, 18.65, 45.20)
CIE-LCHlch(53.09, 48.90, 67.58°)
OKLaboklab(60.25% 0.049 0.101)
OKLCHoklch(60.25% 0.112 64.1)
XYZxyz(24.0993, 21.1317, 5.4984)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF712F #2F6DAF
analogous
#AF312F #AF712F #ADAF2F
triadic
#AF712F #2FAF71 #712FAF
tetradic
#AF712F #2FAF31 #2F6DAF #AF2FAD
square
#AF712F #2FAF31 #2F6DAF #AF2FAD
split-complementary
#AF712F #2FADAF #312FAF
monochromatic
#4F3315 #7F5222 #AF712F #CF904C #DCAE7C

Accessibility & contrast

On white

4.02
#AF712F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AF712F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF712F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF712F#FFFFFF#000000##000000
##AF712F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857627
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#BF6363
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #af712f;
/* rgb */ color: rgb(175, 113, 47);
/* oklch */ color: oklch(60.3% 0.112 64.1);
Tailwind
colors: {
  custom: {
    50: '#cc9a6b',
    500: '#af712f',
    950: '#000000',
  },
}
SCSS
$custom: #af712f;
$custom-light: #cc9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af712f",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 30.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6025,
    "c": 0.11227,
    "h": 64.1
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#AF712F
secondary
#759CC4
accent
#91E147
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E07
muted
#837E7A

Preview Lab

Preview with #AF712F

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

Preview Lab → · Contrast checker → · Palette generator →

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