#AFAB89#AFAB89

#AFAB89 is a light, muted yellow. Relative luminance 0.400; OKLCH L 73.6% C 0.047 H 101.9°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFAB89
RGBrgb(175, 171, 137)
HSLhsl(54, 19%, 61%)
HSVhsv(54, 22%, 69%)
CMYKcmyk(0%, 2.3%, 21.7%, 31.4%)
CIE-LABlab(69.50, -4.26, 18.07)
CIE-LCHlch(69.50, 18.56, 103.28°)
OKLaboklab(73.56% -0.0097 0.0461)
OKLCHoklch(73.56% 0.047 101.9)
XYZxyz(36.7573, 40.0465, 29.4554)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB89 #898DAF
analogous
#AF9889 #AFAB89 #A0AF89
triadic
#AFAB89 #89AFAB #AB89AF
tetradic
#AFAB89 #89AF98 #898DAF #AF89A0
square
#AFAB89 #89AF98 #898DAF #AF89A0
split-complementary
#AFAB89 #89A0AF #9889AF
monochromatic
#716D4D #959065 #AFAB89 #C8C5AD #E0DFD2

Accessibility & contrast

On white

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

On black

9.01
#AFAB89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB89
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB89#FFFFFF#000000##000000
##AFAB891.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A887
Deuteranopia (green-blind)
#B3AB8A
Tritanopia (blue-blind)
#B5A6A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afab89;
/* rgb */ color: rgb(175, 171, 137);
/* oklch */ color: oklch(73.6% 0.047 101.9);
Tailwind
colors: {
  custom: {
    50: '#c7c4ab',
    500: '#afab89',
    950: '#000000',
  },
}
SCSS
$custom: #afab89;
$custom-light: #c7c4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afab89",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 137
  },
  "hsl": {
    "h": 53.684,
    "s": 19.192,
    "l": 61.176
  },
  "oklch": {
    "l": 0.73559,
    "c": 0.04711,
    "h": 101.9
  },
  "luminance": 0.40046
}

Semantic roles & 50–950 ramp

primary
#AFAB89
secondary
#C3C4D1
accent
#519E48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAB89

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

Preview Lab → · Contrast checker → · Palette generator →

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