#AFAB88#AFAB88

#AFAB88 is a light, muted yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.048 H 102.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AFAB88
RGBrgb(175, 171, 136)
HSLhsl(54, 20%, 61%)
HSVhsv(54, 22%, 69%)
CMYKcmyk(0%, 2.3%, 22.3%, 31.4%)
CIE-LABlab(69.48, -4.41, 18.59)
CIE-LCHlch(69.48, 19.10, 103.35°)
OKLaboklab(73.54% -0.0101 0.0474)
OKLCHoklch(73.54% 0.048 102.1)
XYZxyz(36.6859, 40.0179, 29.0794)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB88 #888CAF
analogous
#AF9788 #AFAB88 #9FAF88
triadic
#AFAB88 #88AFAB #AB88AF
tetradic
#AFAB88 #88AF97 #888CAF #AF889F
square
#AFAB88 #88AF97 #888CAF #AF889F
split-complementary
#AFAB88 #889FAF #9788AF
monochromatic
#716D4C #959064 #AFAB88 #C8C5AD #E0DFD1

Accessibility & contrast

On white

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

On black

9.00
#AFAB88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB88
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB88#FFFFFF#000000##000000
##AFAB881.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A886
Deuteranopia (green-blind)
#B3AB89
Tritanopia (blue-blind)
#B5A6A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afab88;
/* rgb */ color: rgb(175, 171, 136);
/* oklch */ color: oklch(73.5% 0.048 102.1);
Tailwind
colors: {
  custom: {
    50: '#c7c4aa',
    500: '#afab88',
    950: '#000000',
  },
}
SCSS
$custom: #afab88;
$custom-light: #c7c4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afab88",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 136
  },
  "hsl": {
    "h": 53.846,
    "s": 19.598,
    "l": 60.98
  },
  "oklch": {
    "l": 0.73536,
    "c": 0.04843,
    "h": 102.1
  },
  "luminance": 0.40017
}

Semantic roles & 50–950 ramp

primary
#AFAB88
secondary
#C2C4D1
accent
#509E48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAB88

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

Preview Lab → · Contrast checker → · Palette generator →

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