#AFAA86#AFAA86

#AFAA86 is a light, muted yellow. Relative luminance 0.396; OKLCH L 73.3% C 0.050 H 100.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFAA86
RGBrgb(175, 170, 134)
HSLhsl(53, 20%, 61%)
HSVhsv(53, 23%, 69%)
CMYKcmyk(0%, 2.9%, 23.4%, 31.4%)
CIE-LABlab(69.17, -4.17, 19.25)
CIE-LCHlch(69.17, 19.70, 102.22°)
OKLaboklab(73.28% -0.0095 0.049)
OKLCHoklch(73.28% 0.05 100.9)
XYZxyz(36.3570, 39.5852, 28.2751)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA86 #868BAF
analogous
#AF9586 #AFAA86 #9FAF86
triadic
#AFAA86 #86AFAA #AA86AF
tetradic
#AFAA86 #86AF95 #868BAF #AF869F
square
#AFAA86 #86AF95 #868BAF #AF869F
split-complementary
#AFAA86 #869FAF #9586AF
monochromatic
#706C4A #958F63 #AFAA86 #C7C4AB #E0DED0

Accessibility & contrast

On white

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

On black

8.92
#AFAA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA86
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA86#FFFFFF#000000##000000
##AFAA861.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A784
Deuteranopia (green-blind)
#B3AA87
Tritanopia (blue-blind)
#B5A5A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa86;
/* rgb */ color: rgb(175, 170, 134);
/* oklch */ color: oklch(73.3% 0.050 100.9);
Tailwind
colors: {
  custom: {
    50: '#c7c3a9',
    500: '#afaa86',
    950: '#000000',
  },
}
SCSS
$custom: #afaa86;
$custom-light: #c7c3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa86",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 134
  },
  "hsl": {
    "h": 52.683,
    "s": 20.398,
    "l": 60.588
  },
  "oklch": {
    "l": 0.73279,
    "c": 0.04988,
    "h": 100.9
  },
  "luminance": 0.39585
}

Semantic roles & 50–950 ramp

primary
#AFAA86
secondary
#C1C3D0
accent
#519F47
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFAA86

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

Preview Lab → · Contrast checker → · Palette generator →

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