#AFAF89#AFAF89

#AFAF89 is a light, muted yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.052 H 107.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#AFAF89
RGBrgb(175, 175, 137)
HSLhsl(60, 19%, 61%)
HSVhsv(60, 22%, 69%)
CMYKcmyk(0%, 0%, 21.7%, 31.4%)
CIE-LABlab(70.58, -6.39, 19.55)
CIE-LCHlch(70.58, 20.57, 108.11°)
OKLaboklab(74.41% -0.0158 0.0497)
OKLCHoklch(74.41% 0.052 107.6)
XYZxyz(37.5244, 41.5805, 29.7111)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAF89 #8989AF
analogous
#AF9C89 #AFAF89 #9CAF89
triadic
#AFAF89 #89AFAF #AF89AF
tetradic
#AFAF89 #89AF9C #8989AF #AF899C
square
#AFAF89 #89AF9C #8989AF #AF899C
split-complementary
#AFAF89 #899CAF #9C89AF
monochromatic
#71714D #959565 #AFAF89 #C8C8AD #E0E0D2

Accessibility & contrast

On white

2.25
#AFAF89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#AFAF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAF89
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAF89#FFFFFF#000000##000000
##AFAF891.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AC87
Deuteranopia (green-blind)
#B6AD8A
Tritanopia (blue-blind)
#B5AAA5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afaf89;
/* rgb */ color: rgb(175, 175, 137);
/* oklch */ color: oklch(74.4% 0.052 107.6);
Tailwind
colors: {
  custom: {
    50: '#c7c6ab',
    500: '#afaf89',
    950: '#000000',
  },
}
SCSS
$custom: #afaf89;
$custom-light: #c7c6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afaf89",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 137
  },
  "hsl": {
    "h": 60,
    "s": 19.192,
    "l": 61.176
  },
  "oklch": {
    "l": 0.74411,
    "c": 0.05218,
    "h": 107.6
  },
  "luminance": 0.4158
}

Semantic roles & 50–950 ramp

primary
#AFAF89
secondary
#C3C3D1
accent
#489E48
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFAF89

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

Preview Lab → · Contrast checker → · Palette generator →

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