#AFA986#AFA986

#AFA986 is a light, muted yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.049 H 99.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AFA986
RGBrgb(175, 169, 134)
HSLhsl(51, 20%, 61%)
HSVhsv(51, 23%, 69%)
CMYKcmyk(0%, 3.4%, 23.4%, 31.4%)
CIE-LABlab(68.90, -3.63, 18.88)
CIE-LCHlch(68.90, 19.23, 100.90°)
OKLaboklab(73.07% -0.0079 0.0481)
OKLCHoklch(73.07% 0.049 99.4)
XYZxyz(36.1702, 39.2118, 28.2129)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA986 #868CAF
analogous
#AF9486 #AFA986 #A0AF86
triadic
#AFA986 #86AFA9 #A986AF
tetradic
#AFA986 #86AF94 #868CAF #AF86A0
square
#AFA986 #86AF94 #868CAF #AF86A0
split-complementary
#AFA986 #86A0AF #9486AF
monochromatic
#706B4A #958E63 #AFA986 #C7C3AB #E0DDD0

Accessibility & contrast

On white

2.37
#AFA986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AFA986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA986
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA986#FFFFFF#000000##000000
##AFA9861.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A784
Deuteranopia (green-blind)
#B2A987
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa986;
/* rgb */ color: rgb(175, 169, 134);
/* oklch */ color: oklch(73.1% 0.049 99.4);
Tailwind
colors: {
  custom: {
    50: '#c7c2a9',
    500: '#afa986',
    950: '#000000',
  },
}
SCSS
$custom: #afa986;
$custom-light: #c7c2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa986",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 134
  },
  "hsl": {
    "h": 51.22,
    "s": 20.398,
    "l": 60.588
  },
  "oklch": {
    "l": 0.73066,
    "c": 0.04872,
    "h": 99.4
  },
  "luminance": 0.39211
}

Semantic roles & 50–950 ramp

primary
#AFA986
secondary
#C1C3D0
accent
#549F47
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA986

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

Preview Lab → · Contrast checker → · Palette generator →

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