#AFA98E#AFA98E

#AFA98E is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.3% C 0.038 H 96.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AFA98E
RGBrgb(175, 169, 142)
HSLhsl(49, 17%, 62%)
HSVhsv(49, 19%, 69%)
CMYKcmyk(0%, 3.4%, 18.9%, 31.4%)
CIE-LABlab(69.07, -2.43, 14.73)
CIE-LCHlch(69.07, 14.93, 99.37°)
OKLaboklab(73.25% -0.0045 0.0379)
OKLCHoklch(73.25% 0.038 96.8)
XYZxyz(36.7494, 39.4434, 31.2633)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA98E #8E94AF
analogous
#AF998E #AFA98E #A5AF8E
triadic
#AFA98E #8EAFA9 #A98EAF
tetradic
#AFA98E #8EAF99 #8E94AF #AF8EA5
square
#AFA98E #8EAF99 #8E94AF #AF8EA5
split-complementary
#AFA98E #8EA5AF #998EAF
monochromatic
#726C51 #968E6A #AFA98E #C8C4B2 #E2E0D6

Accessibility & contrast

On white

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

On black

8.89
#AFA98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA98E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA98E#FFFFFF#000000##000000
##AFA98E1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA78C
Deuteranopia (green-blind)
#B1AA8F
Tritanopia (blue-blind)
#B5A5A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa98e;
/* rgb */ color: rgb(175, 169, 142);
/* oklch */ color: oklch(73.3% 0.038 96.8);
Tailwind
colors: {
  custom: {
    50: '#c7c2af',
    500: '#afa98e',
    950: '#000000',
  },
}
SCSS
$custom: #afa98e;
$custom-light: #c7c2af;
$custom-dark: #000000;
JSON
{
  "hex": "#afa98e",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 142
  },
  "hsl": {
    "h": 49.091,
    "s": 17.098,
    "l": 62.157
  },
  "oklch": {
    "l": 0.73253,
    "c": 0.03815,
    "h": 96.8
  },
  "luminance": 0.39443
}

Semantic roles & 50–950 ramp

primary
#AFA98E
secondary
#C6C9D2
accent
#599B4A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA98E

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

Preview Lab → · Contrast checker → · Palette generator →

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