#AFA983#AFA983

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

Color values

HEX#AFA983
RGBrgb(175, 169, 131)
HSLhsl(52, 22%, 60%)
HSVhsv(52, 25%, 69%)
CMYKcmyk(0%, 3.4%, 25.1%, 31.4%)
CIE-LABlab(68.84, -4.07, 20.44)
CIE-LCHlch(68.84, 20.84, 101.26°)
OKLaboklab(73% -0.0092 0.0518)
OKLCHoklch(73% 0.053 100.1)
XYZxyz(35.9639, 39.1292, 27.1265)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA983 #8389AF
analogous
#AF9383 #AFA983 #9FAF83
triadic
#AFA983 #83AFA9 #A983AF
tetradic
#AFA983 #83AF93 #8389AF #AF839F
square
#AFA983 #83AF93 #8389AF #AF839F
split-complementary
#AFA983 #839FAF #9383AF
monochromatic
#706A48 #958E60 #AFA983 #C7C3A8 #DFDDCD

Accessibility & contrast

On white

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

On black

8.83
#AFA983 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA983
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA983#FFFFFF#000000##000000
##AFA9831.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A681
Deuteranopia (green-blind)
#B2A984
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa983;
/* rgb */ color: rgb(175, 169, 131);
/* oklch */ color: oklch(73.0% 0.053 100.1);
Tailwind
colors: {
  custom: {
    50: '#c7c2a7',
    500: '#afa983',
    950: '#000000',
  },
}
SCSS
$custom: #afa983;
$custom-light: #c7c2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa983",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 131
  },
  "hsl": {
    "h": 51.818,
    "s": 21.569,
    "l": 60
  },
  "oklch": {
    "l": 0.73,
    "c": 0.05263,
    "h": 100.1
  },
  "luminance": 0.39129
}

Semantic roles & 50–950 ramp

primary
#AFA983
secondary
#BEC1CF
accent
#75BE6A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA983

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

Preview Lab → · Contrast checker → · Palette generator →

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