#AFA98A#AFA98A

#AFA98A is a light, muted yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.043 H 98.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#AFA98A
RGBrgb(175, 169, 138)
HSLhsl(50, 19%, 61%)
HSVhsv(50, 21%, 69%)
CMYKcmyk(0%, 3.4%, 21.1%, 31.4%)
CIE-LABlab(68.99, -3.04, 16.81)
CIE-LCHlch(68.99, 17.08, 100.26°)
OKLaboklab(73.16% -0.0062 0.043)
OKLCHoklch(73.16% 0.043 98.3)
XYZxyz(36.4545, 39.3255, 29.7100)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA98A #8A90AF
analogous
#AF978A #AFA98A #A3AF8A
triadic
#AFA98A #8AAFA9 #A98AAF
tetradic
#AFA98A #8AAF97 #8A90AF #AF8AA3
square
#AFA98A #8AAF97 #8A90AF #AF8AA3
split-complementary
#AFA98A #8AA3AF #978AAF
monochromatic
#716B4D #968E66 #AFA98A #C8C4AE #E1DED3

Accessibility & contrast

On white

2.37
#AFA98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#AFA98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA98A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA98A#FFFFFF#000000##000000
##AFA98A1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA788
Deuteranopia (green-blind)
#B1A98B
Tritanopia (blue-blind)
#B5A4A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa98a;
/* rgb */ color: rgb(175, 169, 138);
/* oklch */ color: oklch(73.2% 0.043 98.3);
Tailwind
colors: {
  custom: {
    50: '#c7c2ac',
    500: '#afa98a',
    950: '#000000',
  },
}
SCSS
$custom: #afa98a;
$custom-light: #c7c2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afa98a",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 138
  },
  "hsl": {
    "h": 50.27,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.04345,
    "h": 98.3
  },
  "luminance": 0.39325
}

Semantic roles & 50–950 ramp

primary
#AFA98A
secondary
#C3C6D1
accent
#569D48
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA98A

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

Preview Lab → · Contrast checker → · Palette generator →

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