#AFA886#AFA886

#AFA886 is a light, muted yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.048 H 97.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#AFA886
RGBrgb(175, 168, 134)
HSLhsl(50, 20%, 61%)
HSVhsv(50, 23%, 69%)
CMYKcmyk(0%, 4%, 23.4%, 31.4%)
CIE-LABlab(68.64, -3.10, 18.51)
CIE-LCHlch(68.64, 18.77, 99.50°)
OKLaboklab(72.86% -0.0064 0.0472)
OKLCHoklch(72.86% 0.048 97.7)
XYZxyz(35.9849, 38.8411, 28.1511)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA886 #868DAF
analogous
#AF9386 #AFA886 #A1AF86
triadic
#AFA886 #86AFA8 #A886AF
tetradic
#AFA886 #86AF93 #868DAF #AF86A1
square
#AFA886 #86AF93 #868DAF #AF86A1
split-complementary
#AFA886 #86A1AF #9386AF
monochromatic
#706A4A #958D63 #AFA886 #C7C2AB #E0DDD0

Accessibility & contrast

On white

2.40
#AFA886 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#AFA886 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA886
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA886#FFFFFF#000000##000000
##AFA8861.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA684
Deuteranopia (green-blind)
#B1A987
Tritanopia (blue-blind)
#B6A39F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa886;
/* rgb */ color: rgb(175, 168, 134);
/* oklch */ color: oklch(72.9% 0.048 97.7);
Tailwind
colors: {
  custom: {
    50: '#c7c1a9',
    500: '#afa886',
    950: '#000000',
  },
}
SCSS
$custom: #afa886;
$custom-light: #c7c1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa886",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 134
  },
  "hsl": {
    "h": 49.756,
    "s": 20.398,
    "l": 60.588
  },
  "oklch": {
    "l": 0.72855,
    "c": 0.04759,
    "h": 97.7
  },
  "luminance": 0.3884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA886

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

Preview Lab → · Contrast checker → · Palette generator →

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