#AFA984#AFA984

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

Color values

HEX#AFA984
RGBrgb(175, 169, 132)
HSLhsl(52, 21%, 60%)
HSVhsv(52, 25%, 69%)
CMYKcmyk(0%, 3.4%, 24.6%, 31.4%)
CIE-LABlab(68.86, -3.92, 19.92)
CIE-LCHlch(68.86, 20.30, 101.15°)
OKLaboklab(73.02% -0.0088 0.0506)
OKLCHoklch(73.02% 0.051 99.8)
XYZxyz(36.0320, 39.1565, 27.4852)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA984 #848AAF
analogous
#AF9384 #AFA984 #9FAF84
triadic
#AFA984 #84AFA9 #A984AF
tetradic
#AFA984 #84AF93 #848AAF #AF849F
square
#AFA984 #84AF93 #848AAF #AF849F
split-complementary
#AFA984 #849FAF #9384AF
monochromatic
#706A49 #958E61 #AFA984 #C7C3A9 #DFDDCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA984#FFFFFF#000000##000000
##AFA9841.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)
#B0A782
Deuteranopia (green-blind)
#B2A985
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa984;
/* rgb */ color: rgb(175, 169, 132);
/* oklch */ color: oklch(73.0% 0.051 99.8);
Tailwind
colors: {
  custom: {
    50: '#c7c2a8',
    500: '#afa984',
    950: '#000000',
  },
}
SCSS
$custom: #afa984;
$custom-light: #c7c2a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa984",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 132
  },
  "hsl": {
    "h": 51.628,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.73022,
    "c": 0.05134,
    "h": 99.8
  },
  "luminance": 0.39156
}

Semantic roles & 50–950 ramp

primary
#AFA984
secondary
#BFC1D0
accent
#52A046
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA984

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

Preview Lab → · Contrast checker → · Palette generator →

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