#AFA686#AFA686

#AFA686 is a light, muted yellow. Relative luminance 0.381; OKLCH L 72.4% C 0.045 H 94.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#AFA686
RGBrgb(175, 166, 134)
HSLhsl(47, 20%, 61%)
HSVhsv(47, 23%, 69%)
CMYKcmyk(0%, 5.1%, 23.4%, 31.4%)
CIE-LABlab(68.10, -2.02, 17.77)
CIE-LCHlch(68.10, 17.89, 96.49°)
OKLaboklab(72.43% -0.0033 0.0454)
OKLCHoklch(72.43% 0.045 94.2)
XYZxyz(35.6185, 38.1083, 28.0289)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA686 #868FAF
analogous
#AF9186 #AFA686 #A3AF86
triadic
#AFA686 #86AFA6 #A686AF
tetradic
#AFA686 #86AF91 #868FAF #AF86A3
square
#AFA686 #86AF91 #868FAF #AF86A3
split-complementary
#AFA686 #86A3AF #9186AF
monochromatic
#70684A #958A63 #AFA686 #C7C1AB #E0DCD0

Accessibility & contrast

On white

2.44
#AFA686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#AFA686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA686
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA686#FFFFFF#000000##000000
##AFA6861.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA484
Deuteranopia (green-blind)
#AFA787
Tritanopia (blue-blind)
#B6A19D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa686;
/* rgb */ color: rgb(175, 166, 134);
/* oklch */ color: oklch(72.4% 0.045 94.2);
Tailwind
colors: {
  custom: {
    50: '#c7c0a9',
    500: '#afa686',
    950: '#000000',
  },
}
SCSS
$custom: #afa686;
$custom-light: #c7c0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa686",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 134
  },
  "hsl": {
    "h": 46.829,
    "s": 20.398,
    "l": 60.588
  },
  "oklch": {
    "l": 0.72432,
    "c": 0.04547,
    "h": 94.2
  },
  "luminance": 0.38108
}

Semantic roles & 50–950 ramp

primary
#AFA686
secondary
#C1C4D0
accent
#5A9F47
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA686

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

Preview Lab → · Contrast checker → · Palette generator →

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