#AFA889#AFA889

#AFA889 is a light, muted yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.044 H 96.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#AFA889
RGBrgb(175, 168, 137)
HSLhsl(49, 19%, 61%)
HSVhsv(49, 22%, 69%)
CMYKcmyk(0%, 4%, 21.7%, 31.4%)
CIE-LABlab(68.70, -2.65, 16.95)
CIE-LCHlch(68.70, 17.16, 98.89°)
OKLaboklab(72.92% -0.0051 0.0434)
OKLCHoklch(72.92% 0.044 96.7)
XYZxyz(36.1971, 38.9260, 29.2687)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA889 #8990AF
analogous
#AF9589 #AFA889 #A3AF89
triadic
#AFA889 #89AFA8 #A889AF
tetradic
#AFA889 #89AF95 #8990AF #AF89A3
square
#AFA889 #89AF95 #8990AF #AF89A3
split-complementary
#AFA889 #89A3AF #9589AF
monochromatic
#716A4D #958D65 #AFA889 #C8C3AD #E0DED2

Accessibility & contrast

On white

2.39
#AFA889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#AFA889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA889
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA889#FFFFFF#000000##000000
##AFA8891.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA687
Deuteranopia (green-blind)
#B1A98A
Tritanopia (blue-blind)
#B5A39F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa889;
/* rgb */ color: rgb(175, 168, 137);
/* oklch */ color: oklch(72.9% 0.044 96.7);
Tailwind
colors: {
  custom: {
    50: '#c7c1ab',
    500: '#afa889',
    950: '#000000',
  },
}
SCSS
$custom: #afa889;
$custom-light: #c7c1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afa889",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 137
  },
  "hsl": {
    "h": 48.947,
    "s": 19.192,
    "l": 61.176
  },
  "oklch": {
    "l": 0.72923,
    "c": 0.04366,
    "h": 96.7
  },
  "luminance": 0.38925
}

Semantic roles & 50–950 ramp

primary
#AFA889
secondary
#C3C5D1
accent
#589E48
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA889

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

Preview Lab → · Contrast checker → · Palette generator →

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