#AFA17D#AFA17D

#AFA17D is a light, muted orange. Relative luminance 0.361; OKLCH L 71.2% C 0.052 H 89.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#AFA17D
RGBrgb(175, 161, 125)
HSLhsl(43, 24%, 59%)
HSVhsv(43, 29%, 69%)
CMYKcmyk(0%, 8%, 28.6%, 31.4%)
CIE-LABlab(66.58, -0.60, 20.63)
CIE-LCHlch(66.58, 20.64, 91.65°)
OKLaboklab(71.18% 0.0007 0.0522)
OKLCHoklch(71.18% 0.052 89.3)
XYZxyz(34.1260, 36.0853, 24.5655)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA17D #7D8BAF
analogous
#AF887D #AFA17D #A4AF7D
triadic
#AFA17D #7DAFA1 #A17DAF
tetradic
#AFA17D #7DAF88 #7D8BAF #AF7DA4
square
#AFA17D #7DAF88 #7D8BAF #AF7DA4
split-complementary
#AFA17D #7DA4AF #887DAF
monochromatic
#6E6244 #94845B #AFA17D #C6BCA3 #DED8C9

Accessibility & contrast

On white

2.56
#AFA17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#AFA17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA17D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA17D#FFFFFF#000000##000000
##AFA17D1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A07B
Deuteranopia (green-blind)
#ADA47E
Tritanopia (blue-blind)
#B79B97
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa17d;
/* rgb */ color: rgb(175, 161, 125);
/* oklch */ color: oklch(71.2% 0.052 89.3);
Tailwind
colors: {
  custom: {
    50: '#c7bca2',
    500: '#afa17d',
    950: '#000000',
  },
}
SCSS
$custom: #afa17d;
$custom-light: #c7bca2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa17d",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 125
  },
  "hsl": {
    "h": 43.2,
    "s": 23.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.05221,
    "h": 89.3
  },
  "luminance": 0.36084
}

Semantic roles & 50–950 ramp

primary
#AFA17D
secondary
#BAC0CE
accent
#80C068
background
#FCFBFA
surface
#F8F6F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA17D

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

Preview Lab → · Contrast checker → · Palette generator →

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