#AFAE87#AFAE87

#AFAE87 is a light, muted yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.054 H 106.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#AFAE87
RGBrgb(175, 174, 135)
HSLhsl(59, 20%, 61%)
HSVhsv(59, 23%, 69%)
CMYKcmyk(0%, 0.6%, 22.9%, 31.4%)
CIE-LABlab(70.27, -6.16, 20.21)
CIE-LCHlch(70.27, 21.13, 106.94°)
OKLaboklab(74.15% -0.0151 0.0513)
OKLCHoklch(74.15% 0.054 106.4)
XYZxyz(37.1883, 41.1358, 28.8979)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE87 #8788AF
analogous
#AF9A87 #AFAE87 #9CAF87
triadic
#AFAE87 #87AFAE #AE87AF
tetradic
#AFAE87 #87AF9A #8788AF #AF879C
square
#AFAE87 #87AF9A #8788AF #AF879C
split-complementary
#AFAE87 #879CAF #9A87AF
monochromatic
#71704B #959464 #AFAE87 #C7C7AC #E0E0D0

Accessibility & contrast

On white

2.28
#AFAE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#AFAE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE87
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE87#FFFFFF#000000##000000
##AFAE871.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5AB85
Deuteranopia (green-blind)
#B6AD88
Tritanopia (blue-blind)
#B5A9A3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afae87;
/* rgb */ color: rgb(175, 174, 135);
/* oklch */ color: oklch(74.2% 0.054 106.4);
Tailwind
colors: {
  custom: {
    50: '#c7c6aa',
    500: '#afae87',
    950: '#000000',
  },
}
SCSS
$custom: #afae87;
$custom-light: #c7c6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afae87",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 135
  },
  "hsl": {
    "h": 58.5,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.74153,
    "c": 0.05351,
    "h": 106.4
  },
  "luminance": 0.41135
}

Semantic roles & 50–950 ramp

primary
#AFAE87
secondary
#C1C2D0
accent
#499E47
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFAE87

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

Preview Lab → · Contrast checker → · Palette generator →

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