#AFA985#AFA985

#AFA985 is a light, muted yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.050 H 99.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#AFA985
RGBrgb(175, 169, 133)
HSLhsl(51, 21%, 60%)
HSVhsv(51, 24%, 69%)
CMYKcmyk(0%, 3.4%, 24%, 31.4%)
CIE-LABlab(68.88, -3.78, 19.40)
CIE-LCHlch(68.88, 19.77, 101.03°)
OKLaboklab(73.04% -0.0084 0.0493)
OKLCHoklch(73.04% 0.05 99.6)
XYZxyz(36.1008, 39.1840, 27.8473)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA985 #858BAF
analogous
#AF9485 #AFA985 #A0AF85
triadic
#AFA985 #85AFA9 #A985AF
tetradic
#AFA985 #85AF94 #858BAF #AF85A0
square
#AFA985 #85AF94 #858BAF #AF85A0
split-complementary
#AFA985 #85A0AF #9485AF
monochromatic
#706B4A #958E62 #AFA985 #C7C3AA #DFDDCF

Accessibility & contrast

On white

2.38
#AFA985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#AFA985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA985
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA985#FFFFFF#000000##000000
##AFA9851.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A783
Deuteranopia (green-blind)
#B2A986
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa985;
/* rgb */ color: rgb(175, 169, 133);
/* oklch */ color: oklch(73.0% 0.050 99.6);
Tailwind
colors: {
  custom: {
    50: '#c7c2a8',
    500: '#afa985',
    950: '#000000',
  },
}
SCSS
$custom: #afa985;
$custom-light: #c7c2a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa985",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 133
  },
  "hsl": {
    "h": 51.429,
    "s": 20.792,
    "l": 60.392
  },
  "oklch": {
    "l": 0.73044,
    "c": 0.05002,
    "h": 99.6
  },
  "luminance": 0.39183
}

Semantic roles & 50–950 ramp

primary
#AFA985
secondary
#C0C2D0
accent
#539F46
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA985

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

Preview Lab → · Contrast checker → · Palette generator →

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