#AFAA87#AFAA87

#AFAA87 is a light, muted yellow. Relative luminance 0.396; OKLCH L 73.3% C 0.049 H 100.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFAA87
RGBrgb(175, 170, 135)
HSLhsl(53, 20%, 61%)
HSVhsv(53, 23%, 69%)
CMYKcmyk(0%, 2.9%, 22.9%, 31.4%)
CIE-LABlab(69.19, -4.02, 18.73)
CIE-LCHlch(69.19, 19.16, 102.12°)
OKLaboklab(73.3% -0.009 0.0477)
OKLCHoklch(73.3% 0.049 100.7)
XYZxyz(36.4270, 39.6133, 28.6442)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA87 #878CAF
analogous
#AF9687 #AFAA87 #A0AF87
triadic
#AFAA87 #87AFAA #AA87AF
tetradic
#AFAA87 #87AF96 #878CAF #AF87A0
square
#AFAA87 #87AF96 #878CAF #AF87A0
split-complementary
#AFAA87 #87A0AF #9687AF
monochromatic
#716C4B #958F64 #AFAA87 #C7C4AC #E0DED0

Accessibility & contrast

On white

2.35
#AFAA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFAA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA87
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA87#FFFFFF#000000##000000
##AFAA871.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A885
Deuteranopia (green-blind)
#B3AA88
Tritanopia (blue-blind)
#B5A5A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa87;
/* rgb */ color: rgb(175, 170, 135);
/* oklch */ color: oklch(73.3% 0.049 100.7);
Tailwind
colors: {
  custom: {
    50: '#c7c3aa',
    500: '#afaa87',
    950: '#000000',
  },
}
SCSS
$custom: #afaa87;
$custom-light: #c7c3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa87",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 135
  },
  "hsl": {
    "h": 52.5,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.73301,
    "c": 0.04857,
    "h": 100.7
  },
  "luminance": 0.39613
}

Semantic roles & 50–950 ramp

primary
#AFAA87
secondary
#C1C3D0
accent
#529E47
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAA87

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

Preview Lab → · Contrast checker → · Palette generator →

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