#AFAC8A#AFAC8A

#AFAC8A is a light, muted yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.047 H 103.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#AFAC8A
RGBrgb(175, 172, 138)
HSLhsl(55, 19%, 61%)
HSVhsv(55, 21%, 69%)
CMYKcmyk(0%, 1.7%, 21.1%, 31.4%)
CIE-LABlab(69.79, -4.65, 17.92)
CIE-LCHlch(69.79, 18.52, 104.54°)
OKLaboklab(73.79% -0.0108 0.0458)
OKLCHoklch(73.79% 0.047 103.3)
XYZxyz(37.0190, 40.4545, 29.8982)
Luminance0.4045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC8A #8A8DAF
analogous
#AF9A8A #AFAC8A #A0AF8A
triadic
#AFAC8A #8AAFAC #AC8AAF
tetradic
#AFAC8A #8AAF9A #8A8DAF #AF8AA0
square
#AFAC8A #8AAF9A #8A8DAF #AF8AA0
split-complementary
#AFAC8A #8AA0AF #9A8AAF
monochromatic
#716E4D #969266 #AFAC8A #C8C6AE #E1E0D3

Accessibility & contrast

On white

2.31
#AFAC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#AFAC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC8A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC8A#FFFFFF#000000##000000
##AFAC8A1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A988
Deuteranopia (green-blind)
#B4AB8B
Tritanopia (blue-blind)
#B5A7A3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afac8a;
/* rgb */ color: rgb(175, 172, 138);
/* oklch */ color: oklch(73.8% 0.047 103.3);
Tailwind
colors: {
  custom: {
    50: '#c7c4ac',
    500: '#afac8a',
    950: '#000000',
  },
}
SCSS
$custom: #afac8a;
$custom-light: #c7c4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afac8a",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 138
  },
  "hsl": {
    "h": 55.135,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.73794,
    "c": 0.04701,
    "h": 103.3
  },
  "luminance": 0.40454
}

Semantic roles & 50–950 ramp

primary
#AFAC8A
secondary
#C3C5D1
accent
#4F9D48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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