#AFA989#AFA989

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

Color values

HEX#AFA989
RGBrgb(175, 169, 137)
HSLhsl(51, 19%, 61%)
HSVhsv(51, 22%, 69%)
CMYKcmyk(0%, 3.4%, 21.7%, 31.4%)
CIE-LABlab(68.97, -3.19, 17.33)
CIE-LCHlch(68.97, 17.62, 100.44°)
OKLaboklab(73.13% -0.0067 0.0443)
OKLCHoklch(73.13% 0.045 98.6)
XYZxyz(36.3824, 39.2966, 29.3305)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA989 #898FAF
analogous
#AF9689 #AFA989 #A2AF89
triadic
#AFA989 #89AFA9 #A989AF
tetradic
#AFA989 #89AF96 #898FAF #AF89A2
square
#AFA989 #89AF96 #898FAF #AF89A2
split-complementary
#AFA989 #89A2AF #9689AF
monochromatic
#716B4D #958E65 #AFA989 #C8C4AD #E0DED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA989#FFFFFF#000000##000000
##AFA9891.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)
#B0A787
Deuteranopia (green-blind)
#B1A98A
Tritanopia (blue-blind)
#B5A4A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa989;
/* rgb */ color: rgb(175, 169, 137);
/* oklch */ color: oklch(73.1% 0.045 98.6);
Tailwind
colors: {
  custom: {
    50: '#c7c2ab',
    500: '#afa989',
    950: '#000000',
  },
}
SCSS
$custom: #afa989;
$custom-light: #c7c2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afa989",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 137
  },
  "hsl": {
    "h": 50.526,
    "s": 19.192,
    "l": 61.176
  },
  "oklch": {
    "l": 0.73135,
    "c": 0.04478,
    "h": 98.6
  },
  "luminance": 0.39296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA989

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

Preview Lab → · Contrast checker → · Palette generator →

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