#AFA892#AFA892

#AFA892 is a light, muted yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.032 H 92.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AFA892
RGBrgb(175, 168, 146)
HSLhsl(46, 15%, 63%)
HSVhsv(46, 17%, 69%)
CMYKcmyk(0%, 4%, 16.6%, 31.4%)
CIE-LABlab(68.89, -1.26, 12.28)
CIE-LCHlch(68.89, 12.34, 95.87°)
OKLaboklab(73.14% -0.0013 0.0318)
OKLCHoklch(73.14% 0.032 92.4)
XYZxyz(36.8698, 39.1951, 32.8117)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA892 #9299AF
analogous
#AF9992 #AFA892 #A7AF92
triadic
#AFA892 #92AFA8 #A892AF
tetradic
#AFA892 #92AF99 #9299AF #AF92A7
square
#AFA892 #92AF99 #9299AF #AF92A7
split-complementary
#AFA892 #92A7AF #9992AF
monochromatic
#736B54 #958C6F #AFA892 #C9C4B5 #E3E0D9

Accessibility & contrast

On white

2.38
#AFA892 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AFA892 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA892
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA892#FFFFFF#000000##000000
##AFA8921.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA791
Deuteranopia (green-blind)
#AFA993
Tritanopia (blue-blind)
#B4A4A2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa892;
/* rgb */ color: rgb(175, 168, 146);
/* oklch */ color: oklch(73.1% 0.032 92.4);
Tailwind
colors: {
  custom: {
    50: '#c7c1b2',
    500: '#afa892',
    950: '#000000',
  },
}
SCSS
$custom: #afa892;
$custom-light: #c7c1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa892",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 146
  },
  "hsl": {
    "h": 45.517,
    "s": 15.344,
    "l": 62.941
  },
  "oklch": {
    "l": 0.73141,
    "c": 0.03178,
    "h": 92.4
  },
  "luminance": 0.39195
}

Semantic roles & 50–950 ramp

primary
#AFA892
secondary
#C9CCD4
accent
#5F9A4C
background
#FCFBFA
surface
#F8F7F5
border
#D1D0CF
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA892

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

Preview Lab → · Contrast checker → · Palette generator →

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