#AFA995#AFA995

#AFA995 is a light, muted yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.029 H 93.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFA995
RGBrgb(175, 169, 149)
HSLhsl(46, 14%, 64%)
HSVhsv(46, 15%, 69%)
CMYKcmyk(0%, 3.4%, 14.9%, 31.4%)
CIE-LABlab(69.23, -1.32, 11.10)
CIE-LCHlch(69.23, 11.18, 96.77°)
OKLaboklab(73.43% -0.0016 0.0288)
OKLCHoklch(73.43% 0.029 93.2)
XYZxyz(37.2916, 39.6603, 34.1186)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA995 #959BAF
analogous
#AF9C95 #AFA995 #A8AF95
triadic
#AFA995 #95AFA9 #A995AF
tetradic
#AFA995 #95AF9C #959BAF #AF95A8
square
#AFA995 #95AF9C #959BAF #AF95A8
split-complementary
#AFA995 #95A8AF #9C95AF
monochromatic
#736C57 #958D72 #AFA995 #C9C5B8 #E4E2DB

Accessibility & contrast

On white

2.35
#AFA995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFA995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA995
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA995#FFFFFF#000000##000000
##AFA9951.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA894
Deuteranopia (green-blind)
#AFAA96
Tritanopia (blue-blind)
#B4A6A3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa995;
/* rgb */ color: rgb(175, 169, 149);
/* oklch */ color: oklch(73.4% 0.029 93.2);
Tailwind
colors: {
  custom: {
    50: '#c7c2b4',
    500: '#afa995',
    950: '#000000',
  },
}
SCSS
$custom: #afa995;
$custom-light: #c7c2b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa995",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 149
  },
  "hsl": {
    "h": 46.154,
    "s": 13.978,
    "l": 63.529
  },
  "oklch": {
    "l": 0.73427,
    "c": 0.02882,
    "h": 93.2
  },
  "luminance": 0.3966
}

Semantic roles & 50–950 ramp

primary
#AFA995
secondary
#CBCDD5
accent
#5F984D
background
#FCFBFB
surface
#F8F7F6
border
#D1D0D0
text
#131211
muted
#828180

Preview Lab

Preview with #AFA995

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

Preview Lab → · Contrast checker → · Palette generator →

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