#AFAB87#AFAB87

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

Color values

HEX#AFAB87
RGBrgb(175, 171, 135)
HSLhsl(54, 20%, 61%)
HSVhsv(54, 23%, 69%)
CMYKcmyk(0%, 2.3%, 22.9%, 31.4%)
CIE-LABlab(69.46, -4.56, 19.10)
CIE-LCHlch(69.46, 19.64, 103.42°)
OKLaboklab(73.51% -0.0106 0.0486)
OKLCHoklch(73.51% 0.05 102.3)
XYZxyz(36.6152, 39.9896, 28.7069)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB87 #878BAF
analogous
#AF9787 #AFAB87 #9FAF87
triadic
#AFAB87 #87AFAB #AB87AF
tetradic
#AFAB87 #87AF97 #878BAF #AF879F
square
#AFAB87 #87AF97 #878BAF #AF879F
split-complementary
#AFAB87 #879FAF #9787AF
monochromatic
#716D4B #959064 #AFAB87 #C7C5AC #E0DED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAB87#FFFFFF#000000##000000
##AFAB871.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)
#B2A885
Deuteranopia (green-blind)
#B3AB88
Tritanopia (blue-blind)
#B5A6A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afab87;
/* rgb */ color: rgb(175, 171, 135);
/* oklch */ color: oklch(73.5% 0.050 102.3);
Tailwind
colors: {
  custom: {
    50: '#c7c4aa',
    500: '#afab87',
    950: '#000000',
  },
}
SCSS
$custom: #afab87;
$custom-light: #c7c4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afab87",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 135
  },
  "hsl": {
    "h": 54,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.73514,
    "c": 0.04976,
    "h": 102.3
  },
  "luminance": 0.39989
}

Semantic roles & 50–950 ramp

primary
#AFAB87
secondary
#C1C3D0
accent
#509E47
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAB87

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

Preview Lab → · Contrast checker → · Palette generator →

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