#AFA685#AFA685

#AFA685 is a light, muted yellow. Relative luminance 0.381; OKLCH L 72.4% C 0.047 H 94.6°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#AFA685
RGBrgb(175, 166, 133)
HSLhsl(47, 21%, 60%)
HSVhsv(47, 24%, 69%)
CMYKcmyk(0%, 5.1%, 24%, 31.4%)
CIE-LABlab(68.08, -2.17, 18.29)
CIE-LCHlch(68.08, 18.42, 96.76°)
OKLaboklab(72.41% -0.0037 0.0466)
OKLCHoklch(72.41% 0.047 94.6)
XYZxyz(35.5491, 38.0806, 27.6634)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA685 #858EAF
analogous
#AF9185 #AFA685 #A3AF85
triadic
#AFA685 #85AFA6 #A685AF
tetradic
#AFA685 #85AF91 #858EAF #AF85A3
square
#AFA685 #85AF91 #858EAF #AF85A3
split-complementary
#AFA685 #85A3AF #9185AF
monochromatic
#70684A #958A62 #AFA685 #C7C1AA #DFDCCF

Accessibility & contrast

On white

2.44
#AFA685 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#AFA685 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA685
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA685#FFFFFF#000000##000000
##AFA6851.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA483
Deuteranopia (green-blind)
#B0A786
Tritanopia (blue-blind)
#B6A19D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa685;
/* rgb */ color: rgb(175, 166, 133);
/* oklch */ color: oklch(72.4% 0.047 94.6);
Tailwind
colors: {
  custom: {
    50: '#c7c0a8',
    500: '#afa685',
    950: '#000000',
  },
}
SCSS
$custom: #afa685;
$custom-light: #c7c0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa685",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 133
  },
  "hsl": {
    "h": 47.143,
    "s": 20.792,
    "l": 60.392
  },
  "oklch": {
    "l": 0.72409,
    "c": 0.04677,
    "h": 94.6
  },
  "luminance": 0.3808
}

Semantic roles & 50–950 ramp

primary
#AFA685
secondary
#C0C3D0
accent
#599F46
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA685

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

Preview Lab → · Contrast checker → · Palette generator →

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