#AFAA8B#AFAA8B

#AFAA8B is a light, muted yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.043 H 99.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AFAA8B
RGBrgb(175, 170, 139)
HSLhsl(52, 18%, 62%)
HSVhsv(52, 21%, 69%)
CMYKcmyk(0%, 2.9%, 20.6%, 31.4%)
CIE-LABlab(69.28, -3.43, 16.66)
CIE-LCHlch(69.28, 17.01, 101.62°)
OKLaboklab(73.39% -0.0073 0.0427)
OKLCHoklch(73.39% 0.043 99.8)
XYZxyz(36.7140, 39.7280, 30.1553)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA8B #8B90AF
analogous
#AF988B #AFAA8B #A2AF8B
triadic
#AFAA8B #8BAFAA #AA8BAF
tetradic
#AFAA8B #8BAF98 #8B90AF #AF8BA2
square
#AFAA8B #8BAF98 #8B90AF #AF8BA2
split-complementary
#AFAA8B #8BA2AF #988BAF
monochromatic
#716D4E #968F67 #AFAA8B #C8C5AF #E1DFD3

Accessibility & contrast

On white

2.35
#AFAA8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#AFAA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA8B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA8B#FFFFFF#000000##000000
##AFAA8B1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A889
Deuteranopia (green-blind)
#B2AA8C
Tritanopia (blue-blind)
#B5A5A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa8b;
/* rgb */ color: rgb(175, 170, 139);
/* oklch */ color: oklch(73.4% 0.043 99.8);
Tailwind
colors: {
  custom: {
    50: '#c7c3ad',
    500: '#afaa8b',
    950: '#000000',
  },
}
SCSS
$custom: #afaa8b;
$custom-light: #c7c3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa8b",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 139
  },
  "hsl": {
    "h": 51.667,
    "s": 18.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.73393,
    "c": 0.04328,
    "h": 99.8
  },
  "luminance": 0.39727
}

Semantic roles & 50–950 ramp

primary
#AFAA8B
secondary
#C4C6D2
accent
#549D49
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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