#AFAC84#AFAC84

#AFAC84 is a light, muted yellow. Relative luminance 0.403; OKLCH L 73.7% C 0.055 H 104.1°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#AFAC84
RGBrgb(175, 172, 132)
HSLhsl(56, 21%, 60%)
HSVhsv(56, 25%, 69%)
CMYKcmyk(0%, 1.7%, 24.6%, 31.4%)
CIE-LABlab(69.67, -5.53, 21.02)
CIE-LCHlch(69.67, 21.74, 104.73°)
OKLaboklab(73.66% -0.0134 0.0533)
OKLCHoklch(73.66% 0.055 104.1)
XYZxyz(36.5966, 40.2855, 27.6733)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC84 #8487AF
analogous
#AF9684 #AFAC84 #9CAF84
triadic
#AFAC84 #84AFAC #AC84AF
tetradic
#AFAC84 #84AF96 #8487AF #AF849C
square
#AFAC84 #84AF96 #8487AF #AF849C
split-complementary
#AFAC84 #849CAF #9684AF
monochromatic
#706D49 #959161 #AFAC84 #C7C5A9 #DFDECE

Accessibility & contrast

On white

2.32
#AFAC84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#AFAC84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC84
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC84#FFFFFF#000000##000000
##AFAC841.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A981
Deuteranopia (green-blind)
#B5AB85
Tritanopia (blue-blind)
#B6A7A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afac84;
/* rgb */ color: rgb(175, 172, 132);
/* oklch */ color: oklch(73.7% 0.055 104.1);
Tailwind
colors: {
  custom: {
    50: '#c7c4a8',
    500: '#afac84',
    950: '#000000',
  },
}
SCSS
$custom: #afac84;
$custom-light: #c7c4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afac84",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 132
  },
  "hsl": {
    "h": 55.814,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.7366,
    "c": 0.05491,
    "h": 104.1
  },
  "luminance": 0.40285
}

Semantic roles & 50–950 ramp

primary
#AFAC84
secondary
#BFC0D0
accent
#4CA046
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAC84

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

Preview Lab → · Contrast checker → · Palette generator →

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