#AF8A42#AF8A42

#AF8A42 is a light, moderate orange. Relative luminance 0.277; OKLCH L 65.4% C 0.101 H 82.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AF8A42
RGBrgb(175, 138, 66)
HSLhsl(40, 45%, 47%)
HSVhsv(40, 62%, 69%)
CMYKcmyk(0%, 21.1%, 62.3%, 31.4%)
CIE-LABlab(59.60, 5.83, 43.12)
CIE-LCHlch(59.60, 43.51, 82.30°)
OKLaboklab(65.39% 0.014 0.0997)
OKLCHoklch(65.39% 0.101 82)
XYZxyz(27.7525, 27.6860, 9.0354)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8A42 #4267AF
analogous
#AF5442 #AF8A42 #9EAF42
triadic
#AF8A42 #42AF8A #8A42AF
tetradic
#AF8A42 #42AF54 #4267AF #AF429E
square
#AF8A42 #42AF54 #4267AF #AF429E
split-complementary
#AF8A42 #429EAF #5442AF
monochromatic
#564420 #836731 #AF8A42 #C6A668 #D7C095

Accessibility & contrast

On white

3.21
#AF8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AF8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8A42
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8A42#FFFFFF#000000##000000
##AF8A421.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3B
Deuteranopia (green-blind)
#A39344
Tritanopia (blue-blind)
#BD7F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #af8a42;
/* rgb */ color: rgb(175, 138, 66);
/* oklch */ color: oklch(65.4% 0.101 82.0);
Tailwind
colors: {
  custom: {
    50: '#caac79',
    500: '#af8a42',
    950: '#000000',
  },
}
SCSS
$custom: #af8a42;
$custom-light: #caac79;
$custom-dark: #000000;
JSON
{
  "hex": "#af8a42",
  "rgb": {
    "r": 175,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 39.633,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.65393,
    "c": 0.10071,
    "h": 82
  },
  "luminance": 0.27684
}

Semantic roles & 50–950 ramp

primary
#AF8A42
secondary
#8A9DC2
accent
#7FD553
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B

Preview Lab

Preview with #AF8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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