#AFA993#AFA993

#AFA993 is a light, muted yellow. Relative luminance 0.396; OKLCH L 73.4% C 0.031 H 94.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFA993
RGBrgb(175, 169, 147)
HSLhsl(47, 15%, 63%)
HSVhsv(47, 16%, 69%)
CMYKcmyk(0%, 3.4%, 16%, 31.4%)
CIE-LABlab(69.18, -1.64, 12.14)
CIE-LCHlch(69.18, 12.25, 97.70°)
OKLaboklab(73.38% -0.0024 0.0314)
OKLCHoklch(73.38% 0.031 94.4)
XYZxyz(37.1333, 39.5970, 33.2849)
Luminance0.3960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA993 #9399AF
analogous
#AF9B93 #AFA993 #A7AF93
triadic
#AFA993 #93AFA9 #A993AF
tetradic
#AFA993 #93AF9B #9399AF #AF93A7
square
#AFA993 #93AF9B #9399AF #AF93A7
split-complementary
#AFA993 #93A7AF #9B93AF
monochromatic
#736C55 #958D70 #AFA993 #C9C5B6 #E3E1D9

Accessibility & contrast

On white

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

On black

8.92
#AFA993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA993
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA993#FFFFFF#000000##000000
##AFA9931.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA892
Deuteranopia (green-blind)
#B0AA94
Tritanopia (blue-blind)
#B4A5A3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa993;
/* rgb */ color: rgb(175, 169, 147);
/* oklch */ color: oklch(73.4% 0.031 94.4);
Tailwind
colors: {
  custom: {
    50: '#c7c2b2',
    500: '#afa993',
    950: '#000000',
  },
}
SCSS
$custom: #afa993;
$custom-light: #c7c2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa993",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 147
  },
  "hsl": {
    "h": 47.143,
    "s": 14.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.73376,
    "c": 0.03149,
    "h": 94.4
  },
  "luminance": 0.39596
}

Semantic roles & 50–950 ramp

primary
#AFA993
secondary
#CACCD4
accent
#5D994C
background
#FCFBFA
surface
#F8F7F5
border
#D1D0CF
text
#131211
muted
#828180

Preview Lab

Preview with #AFA993

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

Preview Lab → · Contrast checker → · Palette generator →

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