#AFAA8F#AFAA8F

#AFAA8F is a light, muted yellow. Relative luminance 0.398; OKLCH L 73.5% C 0.038 H 98.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AFAA8F
RGBrgb(175, 170, 143)
HSLhsl(51, 17%, 62%)
HSVhsv(51, 18%, 69%)
CMYKcmyk(0%, 2.9%, 18.3%, 31.4%)
CIE-LABlab(69.36, -2.81, 14.59)
CIE-LCHlch(69.36, 14.86, 100.91°)
OKLaboklab(73.49% -0.0056 0.0375)
OKLCHoklch(73.49% 0.038 98.6)
XYZxyz(37.0116, 39.8471, 31.7228)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA8F #8F94AF
analogous
#AF9A8F #AFAA8F #A4AF8F
triadic
#AFAA8F #8FAFAA #AA8FAF
tetradic
#AFAA8F #8FAF9A #8F94AF #AF8FA4
square
#AFAA8F #8FAF9A #8F94AF #AF8FA4
split-complementary
#AFAA8F #8FA4AF #9A8FAF
monochromatic
#726D51 #968F6B #AFAA8F #C9C5B3 #E2E0D6

Accessibility & contrast

On white

2.34
#AFAA8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#AFAA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA8F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA8F#FFFFFF#000000##000000
##AFAA8F1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A88D
Deuteranopia (green-blind)
#B1AA90
Tritanopia (blue-blind)
#B4A6A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa8f;
/* rgb */ color: rgb(175, 170, 143);
/* oklch */ color: oklch(73.5% 0.038 98.6);
Tailwind
colors: {
  custom: {
    50: '#c7c3af',
    500: '#afaa8f',
    950: '#000000',
  },
}
SCSS
$custom: #afaa8f;
$custom-light: #c7c3af;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa8f",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 143
  },
  "hsl": {
    "h": 50.625,
    "s": 16.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.73488,
    "c": 0.03794,
    "h": 98.6
  },
  "luminance": 0.39847
}

Semantic roles & 50–950 ramp

primary
#AFAA8F
secondary
#C7C9D3
accent
#579B4B
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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