#AFAE97#AFAE97

#AFAE97 is a light, muted yellow. Relative luminance 0.416; OKLCH L 74.5% C 0.032 H 105.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#AFAE97
RGBrgb(175, 174, 151)
HSLhsl(58, 13%, 64%)
HSVhsv(58, 14%, 69%)
CMYKcmyk(0%, 0.6%, 13.7%, 31.4%)
CIE-LABlab(70.61, -3.68, 11.95)
CIE-LCHlch(70.61, 12.51, 107.12°)
OKLaboklab(74.53% -0.0083 0.0309)
OKLCHoklch(74.53% 0.032 105.1)
XYZxyz(38.4006, 41.6208, 35.2828)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE97 #9798AF
analogous
#AFA297 #AFAE97 #A4AF97
triadic
#AFAE97 #97AFAE #AE97AF
tetradic
#AFAE97 #97AFA2 #9798AF #AF97A4
square
#AFAE97 #97AFA2 #9798AF #AF97A4
split-complementary
#AFAE97 #97A4AF #A297AF
monochromatic
#737259 #949374 #AFAE97 #CAC9BA #E4E4DC

Accessibility & contrast

On white

2.25
#AFAE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#AFAE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE97
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE97#FFFFFF#000000##000000
##AFAE971.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2AC96
Deuteranopia (green-blind)
#B3AD98
Tritanopia (blue-blind)
#B3ABA7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afae97;
/* rgb */ color: rgb(175, 174, 151);
/* oklch */ color: oklch(74.5% 0.032 105.1);
Tailwind
colors: {
  custom: {
    50: '#c7c6b5',
    500: '#afae97',
    950: '#000000',
  },
}
SCSS
$custom: #afae97;
$custom-light: #c7c6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afae97",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 151
  },
  "hsl": {
    "h": 57.5,
    "s": 13.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.74531,
    "c": 0.03205,
    "h": 105.1
  },
  "luminance": 0.4162
}

Semantic roles & 50–950 ramp

primary
#AFAE97
secondary
#CDCDD5
accent
#51974E
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFAE97

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

Preview Lab → · Contrast checker → · Palette generator →

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