#AFA98D#AFA98D

#AFA98D is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.039 H 97.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AFA98D
RGBrgb(175, 169, 141)
HSLhsl(49, 18%, 62%)
HSVhsv(49, 19%, 69%)
CMYKcmyk(0%, 3.4%, 19.4%, 31.4%)
CIE-LABlab(69.05, -2.58, 15.25)
CIE-LCHlch(69.05, 15.47, 99.62°)
OKLaboklab(73.23% -0.005 0.0392)
OKLCHoklch(73.23% 0.039 97.2)
XYZxyz(36.6747, 39.4135, 30.8697)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA98D #8D93AF
analogous
#AF988D #AFA98D #A4AF8D
triadic
#AFA98D #8DAFA9 #A98DAF
tetradic
#AFA98D #8DAF98 #8D93AF #AF8DA4
square
#AFA98D #8DAF98 #8D93AF #AF8DA4
split-complementary
#AFA98D #8DA4AF #988DAF
monochromatic
#726C50 #968E69 #AFA98D #C8C4B1 #E1DFD5

Accessibility & contrast

On white

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

On black

8.88
#AFA98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA98D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA98D#FFFFFF#000000##000000
##AFA98D1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA78B
Deuteranopia (green-blind)
#B1AA8E
Tritanopia (blue-blind)
#B5A5A1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa98d;
/* rgb */ color: rgb(175, 169, 141);
/* oklch */ color: oklch(73.2% 0.039 97.2);
Tailwind
colors: {
  custom: {
    50: '#c7c2ae',
    500: '#afa98d',
    950: '#000000',
  },
}
SCSS
$custom: #afa98d;
$custom-light: #c7c2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afa98d",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 141
  },
  "hsl": {
    "h": 49.412,
    "s": 17.526,
    "l": 61.961
  },
  "oklch": {
    "l": 0.73229,
    "c": 0.03948,
    "h": 97.2
  },
  "luminance": 0.39413
}

Semantic roles & 50–950 ramp

primary
#AFA98D
secondary
#C6C8D2
accent
#589C4A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA98D

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

Preview Lab → · Contrast checker → · Palette generator →

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