#AFAD8A#AFAD8A

#AFAD8A is a light, muted yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.048 H 104.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#AFAD8A
RGBrgb(175, 173, 138)
HSLhsl(57, 19%, 61%)
HSVhsv(57, 21%, 69%)
CMYKcmyk(0%, 1.1%, 21.1%, 31.4%)
CIE-LABlab(70.06, -5.18, 18.29)
CIE-LCHlch(70.06, 19.01, 105.81°)
OKLaboklab(74.01% -0.0123 0.0467)
OKLCHoklch(74.01% 0.048 104.8)
XYZxyz(37.2100, 40.8366, 29.9619)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD8A #8A8CAF
analogous
#AF9B8A #AFAD8A #9FAF8A
triadic
#AFAD8A #8AAFAD #AD8AAF
tetradic
#AFAD8A #8AAF9B #8A8CAF #AF8A9F
square
#AFAD8A #8AAF9B #8A8CAF #AF8A9F
split-complementary
#AFAD8A #8A9FAF #9B8AAF
monochromatic
#716F4D #969366 #AFAD8A #C8C6AE #E1E0D3

Accessibility & contrast

On white

2.29
#AFAD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#AFAD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD8A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD8A#FFFFFF#000000##000000
##AFAD8A1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3AA88
Deuteranopia (green-blind)
#B4AC8B
Tritanopia (blue-blind)
#B5A8A3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afad8a;
/* rgb */ color: rgb(175, 173, 138);
/* oklch */ color: oklch(74.0% 0.048 104.8);
Tailwind
colors: {
  custom: {
    50: '#c7c5ac',
    500: '#afad8a',
    950: '#000000',
  },
}
SCSS
$custom: #afad8a;
$custom-light: #c7c5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afad8a",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 138
  },
  "hsl": {
    "h": 56.757,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.74007,
    "c": 0.04827,
    "h": 104.8
  },
  "luminance": 0.40836
}

Semantic roles & 50–950 ramp

primary
#AFAD8A
secondary
#C3C4D1
accent
#4D9D48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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