#AFA97E#AFA97E

#AFA97E is a light, muted yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.059 H 101.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#AFA97E
RGBrgb(175, 169, 126)
HSLhsl(53, 23%, 59%)
HSVhsv(53, 28%, 69%)
CMYKcmyk(0%, 3.4%, 28%, 31.4%)
CIE-LABlab(68.75, -4.77, 23.03)
CIE-LCHlch(68.75, 23.51, 101.70°)
OKLaboklab(72.89% -0.0113 0.058)
OKLCHoklch(72.89% 0.059 101)
XYZxyz(35.6332, 38.9970, 25.3847)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA97E #7E84AF
analogous
#AF917E #AFA97E #9DAF7E
triadic
#AFA97E #7EAFA9 #A97EAF
tetradic
#AFA97E #7EAF91 #7E84AF #AF7E9D
square
#AFA97E #7EAF91 #7E84AF #AF7E9D
split-complementary
#AFA97E #7E9DAF #917EAF
monochromatic
#6E6944 #948D5C #AFA97E #C6C2A4 #DEDBCA

Accessibility & contrast

On white

2.39
#AFA97E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#AFA97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA97E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA97E#FFFFFF#000000##000000
##AFA97E1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A67B
Deuteranopia (green-blind)
#B3A980
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa97e;
/* rgb */ color: rgb(175, 169, 126);
/* oklch */ color: oklch(72.9% 0.059 101.0);
Tailwind
colors: {
  custom: {
    50: '#c7c2a3',
    500: '#afa97e',
    950: '#000000',
  },
}
SCSS
$custom: #afa97e;
$custom-light: #c7c2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa97e",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 126
  },
  "hsl": {
    "h": 52.653,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.72893,
    "c": 0.05908,
    "h": 101
  },
  "luminance": 0.38996
}

Semantic roles & 50–950 ramp

primary
#AFA97E
secondary
#BBBDCE
accent
#73C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA97E

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

Preview Lab → · Contrast checker → · Palette generator →

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