#AFAA8A#AFAA8A

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

Color values

HEX#AFAA8A
RGBrgb(175, 170, 138)
HSLhsl(52, 19%, 61%)
HSVhsv(52, 21%, 69%)
CMYKcmyk(0%, 2.9%, 21.1%, 31.4%)
CIE-LABlab(69.25, -3.58, 17.18)
CIE-LCHlch(69.25, 17.55, 101.77°)
OKLaboklab(73.37% -0.0078 0.0439)
OKLCHoklch(73.37% 0.045 100)
XYZxyz(36.6412, 39.6990, 29.7723)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA8A #8A8FAF
analogous
#AF988A #AFAA8A #A2AF8A
triadic
#AFAA8A #8AAFAA #AA8AAF
tetradic
#AFAA8A #8AAF98 #8A8FAF #AF8AA2
square
#AFAA8A #8AAF98 #8A8FAF #AF8AA2
split-complementary
#AFAA8A #8AA2AF #988AAF
monochromatic
#716C4D #968F66 #AFAA8A #C8C4AE #E1DFD3

Accessibility & contrast

On white

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

On black

8.94
#AFAA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA8A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA8A#FFFFFF#000000##000000
##AFAA8A1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaa8a;
/* rgb */ color: rgb(175, 170, 138);
/* oklch */ color: oklch(73.4% 0.045 100.0);
Tailwind
colors: {
  custom: {
    50: '#c7c3ac',
    500: '#afaa8a',
    950: '#000000',
  },
}
SCSS
$custom: #afaa8a;
$custom-light: #c7c3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa8a",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 138
  },
  "hsl": {
    "h": 51.892,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.7337,
    "c": 0.0446,
    "h": 100
  },
  "luminance": 0.39698
}

Semantic roles & 50–950 ramp

primary
#AFAA8A
secondary
#C3C5D1
accent
#549D48
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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