#AFAA95#AFAA95

#AFAA95 is a light, muted yellow. Relative luminance 0.400; OKLCH L 73.6% C 0.030 H 96.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFAA95
RGBrgb(175, 170, 149)
HSLhsl(48, 14%, 64%)
HSVhsv(48, 15%, 69%)
CMYKcmyk(0%, 2.9%, 14.9%, 31.4%)
CIE-LABlab(69.49, -1.86, 11.48)
CIE-LCHlch(69.49, 11.63, 99.20°)
OKLaboklab(73.64% -0.0031 0.0297)
OKLCHoklch(73.64% 0.03 96)
XYZxyz(37.4783, 40.0338, 34.1809)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA95 #959AAF
analogous
#AF9D95 #AFAA95 #A7AF95
triadic
#AFAA95 #95AFAA #AA95AF
tetradic
#AFAA95 #95AF9D #959AAF #AF95A7
square
#AFAA95 #95AF9D #959AAF #AF95A7
split-complementary
#AFAA95 #95A7AF #9D95AF
monochromatic
#736D57 #958E72 #AFAA95 #C9C6B8 #E4E2DB

Accessibility & contrast

On white

2.33
#AFAA95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#AFAA95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA95
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA95#FFFFFF#000000##000000
##AFAA951.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA994
Deuteranopia (green-blind)
#B0AB96
Tritanopia (blue-blind)
#B4A7A4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afaa95;
/* rgb */ color: rgb(175, 170, 149);
/* oklch */ color: oklch(73.6% 0.030 96.0);
Tailwind
colors: {
  custom: {
    50: '#c7c3b4',
    500: '#afaa95',
    950: '#000000',
  },
}
SCSS
$custom: #afaa95;
$custom-light: #c7c3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa95",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 149
  },
  "hsl": {
    "h": 48.462,
    "s": 13.978,
    "l": 63.529
  },
  "oklch": {
    "l": 0.73637,
    "c": 0.02989,
    "h": 96
  },
  "luminance": 0.40033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAA95

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

Preview Lab → · Contrast checker → · Palette generator →

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