#AFA888#AFA888

#AFA888 is a light, muted yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.045 H 97.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#AFA888
RGBrgb(175, 168, 136)
HSLhsl(49, 20%, 61%)
HSVhsv(49, 22%, 69%)
CMYKcmyk(0%, 4%, 22.3%, 31.4%)
CIE-LABlab(68.68, -2.80, 17.47)
CIE-LCHlch(68.68, 17.70, 99.11°)
OKLaboklab(72.9% -0.0055 0.0446)
OKLCHoklch(72.9% 0.045 97.1)
XYZxyz(36.1257, 38.8974, 28.8927)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA888 #888FAF
analogous
#AF9488 #AFA888 #A2AF88
triadic
#AFA888 #88AFA8 #A888AF
tetradic
#AFA888 #88AF94 #888FAF #AF88A2
square
#AFA888 #88AF94 #888FAF #AF88A2
split-complementary
#AFA888 #88A2AF #9488AF
monochromatic
#716A4C #958D64 #AFA888 #C8C3AD #E0DED1

Accessibility & contrast

On white

2.39
#AFA888 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#AFA888 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA888
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA888#FFFFFF#000000##000000
##AFA8881.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA686
Deuteranopia (green-blind)
#B1A989
Tritanopia (blue-blind)
#B5A39F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa888;
/* rgb */ color: rgb(175, 168, 136);
/* oklch */ color: oklch(72.9% 0.045 97.1);
Tailwind
colors: {
  custom: {
    50: '#c7c1aa',
    500: '#afa888',
    950: '#000000',
  },
}
SCSS
$custom: #afa888;
$custom-light: #c7c1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afa888",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 136
  },
  "hsl": {
    "h": 49.231,
    "s": 19.598,
    "l": 60.98
  },
  "oklch": {
    "l": 0.729,
    "c": 0.04497,
    "h": 97.1
  },
  "luminance": 0.38897
}

Semantic roles & 50–950 ramp

primary
#AFA888
secondary
#C2C5D1
accent
#579E48
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA888

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

Preview Lab → · Contrast checker → · Palette generator →

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