#AFA996#AFA996

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

Color values

HEX#AFA996
RGBrgb(175, 169, 150)
HSLhsl(46, 14%, 64%)
HSVhsv(46, 14%, 69%)
CMYKcmyk(0%, 3.4%, 14.3%, 31.4%)
CIE-LABlab(69.25, -1.16, 10.58)
CIE-LCHlch(69.25, 10.64, 96.23°)
OKLaboklab(73.45% -0.0012 0.0275)
OKLCHoklch(73.45% 0.028 92.5)
XYZxyz(37.3717, 39.6924, 34.5409)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA996 #969CAF
analogous
#AF9C96 #AFA996 #A8AF96
triadic
#AFA996 #96AFA9 #A996AF
tetradic
#AFA996 #96AF9C #969CAF #AF96A8
square
#AFA996 #96AF9C #969CAF #AF96A8
split-complementary
#AFA996 #96A8AF #9C96AF
monochromatic
#736C58 #958D73 #AFA996 #C9C5B9 #E4E2DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA996#FFFFFF#000000##000000
##AFA9961.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)
#ADA895
Deuteranopia (green-blind)
#AFAA97
Tritanopia (blue-blind)
#B3A6A4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa996;
/* rgb */ color: rgb(175, 169, 150);
/* oklch */ color: oklch(73.5% 0.028 92.5);
Tailwind
colors: {
  custom: {
    50: '#c7c2b4',
    500: '#afa996',
    950: '#000000',
  },
}
SCSS
$custom: #afa996;
$custom-light: #c7c2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa996",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 150
  },
  "hsl": {
    "h": 45.6,
    "s": 13.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.73453,
    "c": 0.0275,
    "h": 92.5
  },
  "luminance": 0.39692
}

Semantic roles & 50–950 ramp

primary
#AFA996
secondary
#CCCED5
accent
#60984E
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA996

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

Preview Lab → · Contrast checker → · Palette generator →

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