#AFA884#AFA884

#AFA884 is a light, muted yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.050 H 98.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#AFA884
RGBrgb(175, 168, 132)
HSLhsl(50, 21%, 60%)
HSVhsv(50, 25%, 69%)
CMYKcmyk(0%, 4%, 24.6%, 31.4%)
CIE-LABlab(68.60, -3.39, 19.55)
CIE-LCHlch(68.60, 19.84, 99.83°)
OKLaboklab(72.81% -0.0072 0.0497)
OKLCHoklch(72.81% 0.05 98.3)
XYZxyz(35.8467, 38.7858, 27.4234)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA884 #848BAF
analogous
#AF9384 #AFA884 #A0AF84
triadic
#AFA884 #84AFA8 #A884AF
tetradic
#AFA884 #84AF93 #848BAF #AF84A0
square
#AFA884 #84AF93 #848BAF #AF84A0
split-complementary
#AFA884 #84A0AF #9384AF
monochromatic
#706949 #958C61 #AFA884 #C7C2A9 #DFDCCE

Accessibility & contrast

On white

2.40
#AFA884 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#AFA884 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA884
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA884#FFFFFF#000000##000000
##AFA8841.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA682
Deuteranopia (green-blind)
#B1A985
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa884;
/* rgb */ color: rgb(175, 168, 132);
/* oklch */ color: oklch(72.8% 0.050 98.3);
Tailwind
colors: {
  custom: {
    50: '#c7c1a8',
    500: '#afa884',
    950: '#000000',
  },
}
SCSS
$custom: #afa884;
$custom-light: #c7c1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa884",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 132
  },
  "hsl": {
    "h": 50.233,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.7281,
    "c": 0.05021,
    "h": 98.3
  },
  "luminance": 0.38785
}

Semantic roles & 50–950 ramp

primary
#AFA884
secondary
#BFC2D0
accent
#55A046
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA884

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

Preview Lab → · Contrast checker → · Palette generator →

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