#AFA88D#AFA88D

#AFA88D is a light, muted yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.038 H 95.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AFA88D
RGBrgb(175, 168, 141)
HSLhsl(48, 18%, 62%)
HSVhsv(48, 19%, 69%)
CMYKcmyk(0%, 4%, 19.4%, 31.4%)
CIE-LABlab(68.78, -2.05, 14.88)
CIE-LCHlch(68.78, 15.02, 97.83°)
OKLaboklab(73.02% -0.0034 0.0382)
OKLCHoklch(73.02% 0.038 95.1)
XYZxyz(36.4894, 39.0429, 30.8079)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA88D #8D94AF
analogous
#AF978D #AFA88D #A5AF8D
triadic
#AFA88D #8DAFA8 #A88DAF
tetradic
#AFA88D #8DAF97 #8D94AF #AF8DA5
square
#AFA88D #8DAF97 #8D94AF #AF8DA5
split-complementary
#AFA88D #8DA5AF #978DAF
monochromatic
#726B50 #968D69 #AFA88D #C8C3B1 #E1DFD5

Accessibility & contrast

On white

2.38
#AFA88D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AFA88D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA88D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA88D#FFFFFF#000000##000000
##AFA88D1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA68B
Deuteranopia (green-blind)
#B0A98E
Tritanopia (blue-blind)
#B5A4A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa88d;
/* rgb */ color: rgb(175, 168, 141);
/* oklch */ color: oklch(73.0% 0.038 95.1);
Tailwind
colors: {
  custom: {
    50: '#c7c1ae',
    500: '#afa88d',
    950: '#000000',
  },
}
SCSS
$custom: #afa88d;
$custom-light: #c7c1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afa88d",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 141
  },
  "hsl": {
    "h": 47.647,
    "s": 17.526,
    "l": 61.961
  },
  "oklch": {
    "l": 0.73018,
    "c": 0.03839,
    "h": 95.1
  },
  "luminance": 0.39042
}

Semantic roles & 50–950 ramp

primary
#AFA88D
secondary
#C6C8D2
accent
#5B9C4A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA88D

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

Preview Lab → · Contrast checker → · Palette generator →

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