#AFAA99#AFAA99

#AFAA99 is a light, muted yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.025 H 93.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#AFAA99
RGBrgb(175, 170, 153)
HSLhsl(46, 12%, 64%)
HSVhsv(46, 13%, 69%)
CMYKcmyk(0%, 2.9%, 12.6%, 31.4%)
CIE-LABlab(69.59, -1.20, 9.40)
CIE-LCHlch(69.59, 9.48, 97.27°)
OKLaboklab(73.74% -0.0015 0.0245)
OKLCHoklch(73.74% 0.025 93.4)
XYZxyz(37.8032, 40.1637, 35.8917)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA99 #999EAF
analogous
#AF9F99 #AFAA99 #A9AF99
triadic
#AFAA99 #99AFAA #AA99AF
tetradic
#AFAA99 #99AF9F #999EAF #AF99A9
square
#AFAA99 #99AF9F #999EAF #AF99A9
split-complementary
#AFAA99 #99A9AF #9F99AF
monochromatic
#736E5A #948D77 #AFAA99 #CAC7BB #E5E3DE

Accessibility & contrast

On white

2.32
#AFAA99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#AFAA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA99
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA99#FFFFFF#000000##000000
##AFAA991.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA998
Deuteranopia (green-blind)
#AFAB99
Tritanopia (blue-blind)
#B3A7A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afaa99;
/* rgb */ color: rgb(175, 170, 153);
/* oklch */ color: oklch(73.7% 0.025 93.4);
Tailwind
colors: {
  custom: {
    50: '#c7c3b7',
    500: '#afaa99',
    950: '#000000',
  },
}
SCSS
$custom: #afaa99;
$custom-light: #c7c3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa99",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 153
  },
  "hsl": {
    "h": 46.364,
    "s": 12.088,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7374,
    "c": 0.02452,
    "h": 93.4
  },
  "luminance": 0.40163
}

Semantic roles & 50–950 ramp

primary
#AFAA99
secondary
#CED0D6
accent
#5F964F
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFAA99

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

Preview Lab → · Contrast checker → · Palette generator →

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