#AFA684#AFA684

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

Color values

HEX#AFA684
RGBrgb(175, 166, 132)
HSLhsl(47, 21%, 60%)
HSVhsv(47, 25%, 69%)
CMYKcmyk(0%, 5.1%, 24.6%, 31.4%)
CIE-LABlab(68.06, -2.31, 18.81)
CIE-LCHlch(68.06, 18.96, 97.01°)
OKLaboklab(72.39% -0.0042 0.0479)
OKLCHoklch(72.39% 0.048 95)
XYZxyz(35.4803, 38.0531, 27.3012)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA684 #848DAF
analogous
#AF9084 #AFA684 #A2AF84
triadic
#AFA684 #84AFA6 #A684AF
tetradic
#AFA684 #84AF90 #848DAF #AF84A2
square
#AFA684 #84AF90 #848DAF #AF84A2
split-complementary
#AFA684 #84A2AF #9084AF
monochromatic
#706849 #958A61 #AFA684 #C7C1A9 #DFDCCE

Accessibility & contrast

On white

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

On black

8.61
#AFA684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA684
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA684#FFFFFF#000000##000000
##AFA6841.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa684;
/* rgb */ color: rgb(175, 166, 132);
/* oklch */ color: oklch(72.4% 0.048 95.0);
Tailwind
colors: {
  custom: {
    50: '#c7c0a8',
    500: '#afa684',
    950: '#000000',
  },
}
SCSS
$custom: #afa684;
$custom-light: #c7c0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa684",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 132
  },
  "hsl": {
    "h": 47.442,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.72386,
    "c": 0.04806,
    "h": 95
  },
  "luminance": 0.38052
}

Semantic roles & 50–950 ramp

primary
#AFA684
secondary
#BFC3D0
accent
#59A046
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA684

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

Preview Lab → · Contrast checker → · Palette generator →

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