#AFA893#AFA893

#AFA893 is a light, muted yellow. Relative luminance 0.392; OKLCH L 73.2% C 0.030 H 91.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#AFA893
RGBrgb(175, 168, 147)
HSLhsl(45, 15%, 63%)
HSVhsv(45, 16%, 69%)
CMYKcmyk(0%, 4%, 16%, 31.4%)
CIE-LABlab(68.91, -1.10, 11.76)
CIE-LCHlch(68.91, 11.81, 95.35°)
OKLaboklab(73.17% -0.0009 0.0305)
OKLCHoklch(73.17% 0.03 91.7)
XYZxyz(36.9479, 39.2263, 33.2231)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA893 #939AAF
analogous
#AF9A93 #AFA893 #A8AF93
triadic
#AFA893 #93AFA8 #A893AF
tetradic
#AFA893 #93AF9A #939AAF #AF93A8
square
#AFA893 #93AF9A #939AAF #AF93A8
split-complementary
#AFA893 #93A8AF #9A93AF
monochromatic
#736B55 #958C70 #AFA893 #C9C4B6 #E3E1D9

Accessibility & contrast

On white

2.37
#AFA893 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#AFA893 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA893
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA893#FFFFFF#000000##000000
##AFA8931.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA792
Deuteranopia (green-blind)
#AFA994
Tritanopia (blue-blind)
#B4A5A2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa893;
/* rgb */ color: rgb(175, 168, 147);
/* oklch */ color: oklch(73.2% 0.030 91.7);
Tailwind
colors: {
  custom: {
    50: '#c7c1b2',
    500: '#afa893',
    950: '#000000',
  },
}
SCSS
$custom: #afa893;
$custom-light: #c7c1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa893",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 147
  },
  "hsl": {
    "h": 45,
    "s": 14.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.03046,
    "h": 91.7
  },
  "luminance": 0.39226
}

Semantic roles & 50–950 ramp

primary
#AFA893
secondary
#CACCD4
accent
#60994C
background
#FCFBFA
surface
#F8F7F5
border
#D1D0CF
text
#131211
muted
#828180

Preview Lab

Preview with #AFA893

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

Preview Lab → · Contrast checker → · Palette generator →

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