#AFA982#AFA982

#AFA982 is a light, muted yellow. Relative luminance 0.391; OKLCH L 73.0% C 0.054 H 100.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFA982
RGBrgb(175, 169, 130)
HSLhsl(52, 22%, 60%)
HSVhsv(52, 26%, 69%)
CMYKcmyk(0%, 3.4%, 25.7%, 31.4%)
CIE-LABlab(68.83, -4.21, 20.96)
CIE-LCHlch(68.83, 21.37, 101.36°)
OKLaboklab(72.98% -0.0096 0.0531)
OKLCHoklch(72.98% 0.054 100.3)
XYZxyz(35.8965, 39.1023, 26.7713)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA982 #8288AF
analogous
#AF9382 #AFA982 #9FAF82
triadic
#AFA982 #82AFA9 #A982AF
tetradic
#AFA982 #82AF93 #8288AF #AF829F
square
#AFA982 #82AF93 #8288AF #AF829F
split-complementary
#AFA982 #829FAF #9382AF
monochromatic
#6F6A47 #958E5F #AFA982 #C7C3A7 #DFDCCD

Accessibility & contrast

On white

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

On black

8.82
#AFA982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA982
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA982#FFFFFF#000000##000000
##AFA9821.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A680
Deuteranopia (green-blind)
#B3A983
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa982;
/* rgb */ color: rgb(175, 169, 130);
/* oklch */ color: oklch(73.0% 0.054 100.3);
Tailwind
colors: {
  custom: {
    50: '#c7c2a6',
    500: '#afa982',
    950: '#000000',
  },
}
SCSS
$custom: #afa982;
$custom-light: #c7c2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa982",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 130
  },
  "hsl": {
    "h": 52,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.72978,
    "c": 0.05394,
    "h": 100.3
  },
  "luminance": 0.39102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA982

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

Preview Lab → · Contrast checker → · Palette generator →

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