#AFAB8A#AFAB8A

#AFAB8A is a light, muted yellow. Relative luminance 0.401; OKLCH L 73.6% C 0.046 H 101.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFAB8A
RGBrgb(175, 171, 138)
HSLhsl(54, 19%, 61%)
HSVhsv(54, 21%, 69%)
CMYKcmyk(0%, 2.3%, 21.1%, 31.4%)
CIE-LABlab(69.52, -4.11, 17.55)
CIE-LCHlch(69.52, 18.03, 103.19°)
OKLaboklab(73.58% -0.0093 0.0448)
OKLCHoklch(73.58% 0.046 101.7)
XYZxyz(36.8294, 40.0753, 29.8350)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB8A #8A8EAF
analogous
#AF998A #AFAB8A #A1AF8A
triadic
#AFAB8A #8AAFAB #AB8AAF
tetradic
#AFAB8A #8AAF99 #8A8EAF #AF8AA1
square
#AFAB8A #8AAF99 #8A8EAF #AF8AA1
split-complementary
#AFAB8A #8AA1AF #998AAF
monochromatic
#716D4D #969066 #AFAB8A #C8C5AE #E1DFD3

Accessibility & contrast

On white

2.33
#AFAB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#AFAB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB8A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB8A#FFFFFF#000000##000000
##AFAB8A1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A988
Deuteranopia (green-blind)
#B3AB8B
Tritanopia (blue-blind)
#B5A6A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afab8a;
/* rgb */ color: rgb(175, 171, 138);
/* oklch */ color: oklch(73.6% 0.046 101.7);
Tailwind
colors: {
  custom: {
    50: '#c7c4ac',
    500: '#afab8a',
    950: '#000000',
  },
}
SCSS
$custom: #afab8a;
$custom-light: #c7c4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afab8a",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 138
  },
  "hsl": {
    "h": 53.514,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.73582,
    "c": 0.04579,
    "h": 101.7
  },
  "luminance": 0.40075
}

Semantic roles & 50–950 ramp

primary
#AFAB8A
secondary
#C3C5D1
accent
#529D48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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