#AFA689#AFA689

#AFA689 is a light, muted yellow. Relative luminance 0.382; OKLCH L 72.5% C 0.042 H 92.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#AFA689
RGBrgb(175, 166, 137)
HSLhsl(46, 19%, 61%)
HSVhsv(46, 22%, 69%)
CMYKcmyk(0%, 5.1%, 21.7%, 31.4%)
CIE-LABlab(68.16, -1.58, 16.21)
CIE-LCHlch(68.16, 16.29, 95.55°)
OKLaboklab(72.5% -0.002 0.0415)
OKLCHoklch(72.5% 0.042 92.8)
XYZxyz(35.8307, 38.1932, 29.1466)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA689 #8992AF
analogous
#AF9389 #AFA689 #A5AF89
triadic
#AFA689 #89AFA6 #A689AF
tetradic
#AFA689 #89AF93 #8992AF #AF89A5
square
#AFA689 #89AF93 #8992AF #AF89A5
split-complementary
#AFA689 #89A5AF #9389AF
monochromatic
#71684D #958A65 #AFA689 #C8C2AD #E0DDD2

Accessibility & contrast

On white

2.43
#AFA689 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#AFA689 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA689
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA689#FFFFFF#000000##000000
##AFA6891.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA487
Deuteranopia (green-blind)
#AFA78A
Tritanopia (blue-blind)
#B5A19E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa689;
/* rgb */ color: rgb(175, 166, 137);
/* oklch */ color: oklch(72.5% 0.042 92.8);
Tailwind
colors: {
  custom: {
    50: '#c7c0ab',
    500: '#afa689',
    950: '#000000',
  },
}
SCSS
$custom: #afa689;
$custom-light: #c7c0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afa689",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 137
  },
  "hsl": {
    "h": 45.789,
    "s": 19.192,
    "l": 61.176
  },
  "oklch": {
    "l": 0.72502,
    "c": 0.04158,
    "h": 92.8
  },
  "luminance": 0.38193
}

Semantic roles & 50–950 ramp

primary
#AFA689
secondary
#C3C6D1
accent
#5C9E48
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA689

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

Preview Lab → · Contrast checker → · Palette generator →

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