#AFAA84#AFAA84

#AFAA84 is a light, muted yellow. Relative luminance 0.395; OKLCH L 73.2% C 0.052 H 101.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AFAA84
RGBrgb(175, 170, 132)
HSLhsl(53, 21%, 60%)
HSVhsv(53, 25%, 69%)
CMYKcmyk(0%, 2.9%, 24.6%, 31.4%)
CIE-LABlab(69.13, -4.46, 20.29)
CIE-LCHlch(69.13, 20.77, 102.40°)
OKLaboklab(73.23% -0.0103 0.0515)
OKLCHoklch(73.23% 0.052 101.3)
XYZxyz(36.2188, 39.5300, 27.5474)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA84 #8489AF
analogous
#AF9484 #AFAA84 #9EAF84
triadic
#AFAA84 #84AFAA #AA84AF
tetradic
#AFAA84 #84AF94 #8489AF #AF849E
square
#AFAA84 #84AF94 #8489AF #AF849E
split-complementary
#AFAA84 #849EAF #9484AF
monochromatic
#706B49 #958F61 #AFAA84 #C7C4A9 #DFDDCE

Accessibility & contrast

On white

2.36
#AFAA84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AFAA84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA84
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA84#FFFFFF#000000##000000
##AFAA841.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A782
Deuteranopia (green-blind)
#B3AA85
Tritanopia (blue-blind)
#B6A5A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa84;
/* rgb */ color: rgb(175, 170, 132);
/* oklch */ color: oklch(73.2% 0.052 101.3);
Tailwind
colors: {
  custom: {
    50: '#c7c3a8',
    500: '#afaa84',
    950: '#000000',
  },
}
SCSS
$custom: #afaa84;
$custom-light: #c7c3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa84",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 132
  },
  "hsl": {
    "h": 53.023,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.73234,
    "c": 0.05249,
    "h": 101.3
  },
  "luminance": 0.39529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAA84

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

Preview Lab → · Contrast checker → · Palette generator →

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