#AFA882#AFA882

#AFA882 is a light, muted yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.053 H 98.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFA882
RGBrgb(175, 168, 130)
HSLhsl(51, 22%, 60%)
HSVhsv(51, 26%, 69%)
CMYKcmyk(0%, 4%, 25.7%, 31.4%)
CIE-LABlab(68.56, -3.67, 20.59)
CIE-LCHlch(68.56, 20.91, 100.12°)
OKLaboklab(72.77% -0.0081 0.0522)
OKLCHoklch(72.77% 0.053 98.8)
XYZxyz(35.7112, 38.7316, 26.7095)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA882 #8289AF
analogous
#AF9282 #AFA882 #9FAF82
triadic
#AFA882 #82AFA8 #A882AF
tetradic
#AFA882 #82AF92 #8289AF #AF829F
square
#AFA882 #82AF92 #8289AF #AF829F
split-complementary
#AFA882 #829FAF #9282AF
monochromatic
#6F6947 #958C5F #AFA882 #C7C2A7 #DFDCCD

Accessibility & contrast

On white

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

On black

8.75
#AFA882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA882
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA882#FFFFFF#000000##000000
##AFA8821.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa882;
/* rgb */ color: rgb(175, 168, 130);
/* oklch */ color: oklch(72.8% 0.053 98.8);
Tailwind
colors: {
  custom: {
    50: '#c7c1a6',
    500: '#afa882',
    950: '#000000',
  },
}
SCSS
$custom: #afa882;
$custom-light: #c7c1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa882",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 130
  },
  "hsl": {
    "h": 50.667,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.72765,
    "c": 0.0528,
    "h": 98.8
  },
  "luminance": 0.38731
}

Semantic roles & 50–950 ramp

primary
#AFA882
secondary
#BEC0CF
accent
#77BE69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA882

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

Preview Lab → · Contrast checker → · Palette generator →

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