#AFAC86#AFAC86

#AFAC86 is a light, muted yellow. Relative luminance 0.403; OKLCH L 73.7% C 0.052 H 103.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#AFAC86
RGBrgb(175, 172, 134)
HSLhsl(56, 20%, 61%)
HSVhsv(56, 23%, 69%)
CMYKcmyk(0%, 1.7%, 23.4%, 31.4%)
CIE-LABlab(69.71, -5.24, 19.99)
CIE-LCHlch(69.71, 20.67, 104.68°)
OKLaboklab(73.7% -0.0125 0.0508)
OKLCHoklch(73.7% 0.052 103.8)
XYZxyz(36.7347, 40.3408, 28.4010)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC86 #8689AF
analogous
#AF9786 #AFAC86 #9DAF86
triadic
#AFAC86 #86AFAC #AC86AF
tetradic
#AFAC86 #86AF97 #8689AF #AF869D
square
#AFAC86 #86AF97 #8689AF #AF869D
split-complementary
#AFAC86 #869DAF #9786AF
monochromatic
#706E4A #959163 #AFAC86 #C7C5AB #E0DFD0

Accessibility & contrast

On white

2.32
#AFAC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#AFAC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC86
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC86#FFFFFF#000000##000000
##AFAC861.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A984
Deuteranopia (green-blind)
#B4AB87
Tritanopia (blue-blind)
#B5A7A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afac86;
/* rgb */ color: rgb(175, 172, 134);
/* oklch */ color: oklch(73.7% 0.052 103.8);
Tailwind
colors: {
  custom: {
    50: '#c7c4a9',
    500: '#afac86',
    950: '#000000',
  },
}
SCSS
$custom: #afac86;
$custom-light: #c7c4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afac86",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 134
  },
  "hsl": {
    "h": 55.61,
    "s": 20.398,
    "l": 60.588
  },
  "oklch": {
    "l": 0.73704,
    "c": 0.05229,
    "h": 103.8
  },
  "luminance": 0.4034
}

Semantic roles & 50–950 ramp

primary
#AFAC86
secondary
#C1C2D0
accent
#4D9F47
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAC86

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

Preview Lab → · Contrast checker → · Palette generator →

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