#AFA688#AFA688

#AFA688 is a light, muted yellow. Relative luminance 0.382; OKLCH L 72.5% C 0.043 H 93.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AFA688
RGBrgb(175, 166, 136)
HSLhsl(46, 20%, 61%)
HSVhsv(46, 22%, 69%)
CMYKcmyk(0%, 5.1%, 22.3%, 31.4%)
CIE-LABlab(68.14, -1.72, 16.73)
CIE-LCHlch(68.14, 16.82, 95.89°)
OKLaboklab(72.48% -0.0025 0.0428)
OKLCHoklch(72.48% 0.043 93.3)
XYZxyz(35.7593, 38.1647, 28.7705)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA688 #8891AF
analogous
#AF9288 #AFA688 #A4AF88
triadic
#AFA688 #88AFA6 #A688AF
tetradic
#AFA688 #88AF92 #8891AF #AF88A4
square
#AFA688 #88AF92 #8891AF #AF88A4
split-complementary
#AFA688 #88A4AF #9288AF
monochromatic
#71684C #958A64 #AFA688 #C8C1AD #E0DDD1

Accessibility & contrast

On white

2.43
#AFA688 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AFA688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA688
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA688#FFFFFF#000000##000000
##AFA6881.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA486
Deuteranopia (green-blind)
#AFA789
Tritanopia (blue-blind)
#B6A19E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa688;
/* rgb */ color: rgb(175, 166, 136);
/* oklch */ color: oklch(72.5% 0.043 93.3);
Tailwind
colors: {
  custom: {
    50: '#c7c0aa',
    500: '#afa688',
    950: '#000000',
  },
}
SCSS
$custom: #afa688;
$custom-light: #c7c0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afa688",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 136
  },
  "hsl": {
    "h": 46.154,
    "s": 19.598,
    "l": 60.98
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.04288,
    "h": 93.3
  },
  "luminance": 0.38164
}

Semantic roles & 50–950 ramp

primary
#AFA688
secondary
#C2C5D1
accent
#5B9E48
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA688

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

Preview Lab → · Contrast checker → · Palette generator →

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