#AFA992#AFA992

#AFA992 is a light, muted yellow. Relative luminance 0.396; OKLCH L 73.4% C 0.033 H 95.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AFA992
RGBrgb(175, 169, 146)
HSLhsl(48, 15%, 63%)
HSVhsv(48, 17%, 69%)
CMYKcmyk(0%, 3.4%, 16.6%, 31.4%)
CIE-LABlab(69.16, -1.80, 12.65)
CIE-LCHlch(69.16, 12.78, 98.10°)
OKLaboklab(73.35% -0.0029 0.0327)
OKLCHoklch(73.35% 0.033 95)
XYZxyz(37.0551, 39.5657, 32.8735)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA992 #9298AF
analogous
#AF9A92 #AFA992 #A6AF92
triadic
#AFA992 #92AFA9 #A992AF
tetradic
#AFA992 #92AF9A #9298AF #AF92A6
square
#AFA992 #92AF9A #9298AF #AF92A6
split-complementary
#AFA992 #92A6AF #9A92AF
monochromatic
#736C54 #958D6F #AFA992 #C9C5B5 #E3E1D9

Accessibility & contrast

On white

2.36
#AFA992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AFA992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA992
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA992#FFFFFF#000000##000000
##AFA9921.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA891
Deuteranopia (green-blind)
#B0AA93
Tritanopia (blue-blind)
#B4A5A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa992;
/* rgb */ color: rgb(175, 169, 146);
/* oklch */ color: oklch(73.4% 0.033 95.0);
Tailwind
colors: {
  custom: {
    50: '#c7c2b2',
    500: '#afa992',
    950: '#000000',
  },
}
SCSS
$custom: #afa992;
$custom-light: #c7c2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa992",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 146
  },
  "hsl": {
    "h": 47.586,
    "s": 15.344,
    "l": 62.941
  },
  "oklch": {
    "l": 0.73351,
    "c": 0.03282,
    "h": 95
  },
  "luminance": 0.39565
}

Semantic roles & 50–950 ramp

primary
#AFA992
secondary
#C9CBD4
accent
#5C9A4C
background
#FCFBFA
surface
#F8F7F5
border
#D1D0CF
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA992

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

Preview Lab → · Contrast checker → · Palette generator →

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