#AFA991#AFA991

#AFA991 is a light, muted yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.034 H 95.5°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AFA991
RGBrgb(175, 169, 145)
HSLhsl(48, 16%, 63%)
HSVhsv(48, 17%, 69%)
CMYKcmyk(0%, 3.4%, 17.1%, 31.4%)
CIE-LABlab(69.14, -1.96, 13.17)
CIE-LCHlch(69.14, 13.32, 98.46°)
OKLaboklab(73.33% -0.0033 0.034)
OKLCHoklch(73.33% 0.034 95.5)
XYZxyz(36.9777, 39.5347, 32.4656)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA991 #9197AF
analogous
#AF9A91 #AFA991 #A6AF91
triadic
#AFA991 #91AFA9 #A991AF
tetradic
#AFA991 #91AF9A #9197AF #AF91A6
square
#AFA991 #91AF9A #9197AF #AF91A6
split-complementary
#AFA991 #91A6AF #9A91AF
monochromatic
#726C53 #958D6E #AFA991 #C9C5B4 #E3E0D8

Accessibility & contrast

On white

2.36
#AFA991 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AFA991 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA991
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA991#FFFFFF#000000##000000
##AFA9911.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA890
Deuteranopia (green-blind)
#B0AA92
Tritanopia (blue-blind)
#B4A5A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa991;
/* rgb */ color: rgb(175, 169, 145);
/* oklch */ color: oklch(73.3% 0.034 95.5);
Tailwind
colors: {
  custom: {
    50: '#c7c2b1',
    500: '#afa991',
    950: '#000000',
  },
}
SCSS
$custom: #afa991;
$custom-light: #c7c2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa991",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 145
  },
  "hsl": {
    "h": 48,
    "s": 15.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.73326,
    "c": 0.03416,
    "h": 95.5
  },
  "luminance": 0.39534
}

Semantic roles & 50–950 ramp

primary
#AFA991
secondary
#C8CBD3
accent
#5B9A4B
background
#FCFBFA
surface
#F8F7F5
border
#D1D0CF
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA991

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

Preview Lab → · Contrast checker → · Palette generator →

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