#AFAA98#AFAA98

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

Color values

HEX#AFAA98
RGBrgb(175, 170, 152)
HSLhsl(47, 13%, 64%)
HSVhsv(47, 13%, 69%)
CMYKcmyk(0%, 2.9%, 13.1%, 31.4%)
CIE-LABlab(69.56, -1.37, 9.92)
CIE-LCHlch(69.56, 10.02, 97.84°)
OKLaboklab(73.71% -0.0019 0.0258)
OKLCHoklch(73.71% 0.026 94.1)
XYZxyz(37.7209, 40.1308, 35.4586)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA98 #989DAF
analogous
#AF9F98 #AFAA98 #A9AF98
triadic
#AFAA98 #98AFAA #AA98AF
tetradic
#AFAA98 #98AF9F #989DAF #AF98A9
square
#AFAA98 #98AF9F #989DAF #AF98A9
split-complementary
#AFAA98 #98A9AF #9F98AF
monochromatic
#736E59 #948E76 #AFAA98 #CAC6BA #E5E3DD

Accessibility & contrast

On white

2.33
#AFAA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAA98#FFFFFF#000000##000000
##AFAA981.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaa98;
/* rgb */ color: rgb(175, 170, 152);
/* oklch */ color: oklch(73.7% 0.026 94.1);
Tailwind
colors: {
  custom: {
    50: '#c7c3b6',
    500: '#afaa98',
    950: '#000000',
  },
}
SCSS
$custom: #afaa98;
$custom-light: #c7c3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa98",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 152
  },
  "hsl": {
    "h": 46.957,
    "s": 12.568,
    "l": 64.118
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.02587,
    "h": 94.1
  },
  "luminance": 0.4013
}

Semantic roles & 50–950 ramp

primary
#AFAA98
secondary
#CDCFD5
accent
#5E974F
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFAA98

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

Preview Lab → · Contrast checker → · Palette generator →

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