#AF8D2A#AF8D2A

#AF8D2A is a light, moderate orange. Relative luminance 0.283; OKLCH L 65.8% C 0.120 H 89.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AF8D2A
RGBrgb(175, 141, 42)
HSLhsl(45, 61%, 43%)
HSVhsv(45, 76%, 69%)
CMYKcmyk(0%, 19.4%, 76%, 31.4%)
CIE-LABlab(60.19, 2.80, 54.40)
CIE-LCHlch(60.19, 54.47, 87.06°)
OKLaboklab(65.79% 0.0022 0.1196)
OKLCHoklch(65.79% 0.12 89)
XYZxyz(27.6236, 28.3327, 6.2038)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8D2A #2A4CAF
analogous
#AF4B2A #AF8D2A #8EAF2A
triadic
#AF8D2A #2AAF8D #8D2AAF
tetradic
#AF8D2A #2AAF4B #2A4CAF #AF2A8E
square
#AF8D2A #2AAF4B #2A4CAF #AF2A8E
split-complementary
#AF8D2A #2A8EAF #4B2AAF
monochromatic
#4C3D12 #7E651E #AF8D2A #D2AE44 #DEC375

Accessibility & contrast

On white

3.15
#AF8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AF8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8D2A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8D2A#FFFFFF#000000##000000
##AF8D2A1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C19
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#BE817A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af8d2a;
/* rgb */ color: rgb(175, 141, 42);
/* oklch */ color: oklch(65.8% 0.120 89.0);
Tailwind
colors: {
  custom: {
    50: '#cbae6b',
    500: '#af8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #af8d2a;
$custom-light: #cbae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#af8d2a",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 44.662,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.11957,
    "h": 89
  },
  "luminance": 0.28331
}

Semantic roles & 50–950 ramp

primary
#AF8D2A
secondary
#6F85C6
accent
#6DE443
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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