#AFA789#AFA789

#AFA789 is a light, muted yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.043 H 94.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#AFA789
RGBrgb(175, 167, 137)
HSLhsl(47, 19%, 61%)
HSVhsv(47, 22%, 69%)
CMYKcmyk(0%, 4.6%, 21.7%, 31.4%)
CIE-LABlab(68.43, -2.11, 16.58)
CIE-LCHlch(68.43, 16.72, 97.27°)
OKLaboklab(72.71% -0.0036 0.0425)
OKLCHoklch(72.71% 0.043 94.8)
XYZxyz(36.0132, 38.5582, 29.2074)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA789 #8991AF
analogous
#AF9489 #AFA789 #A4AF89
triadic
#AFA789 #89AFA7 #A789AF
tetradic
#AFA789 #89AF94 #8991AF #AF89A4
square
#AFA789 #89AF94 #8991AF #AF89A4
split-complementary
#AFA789 #89A4AF #9489AF
monochromatic
#71694D #958B65 #AFA789 #C8C2AD #E0DDD2

Accessibility & contrast

On white

2.41
#AFA789 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#AFA789 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA789
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA789#FFFFFF#000000##000000
##AFA7891.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA587
Deuteranopia (green-blind)
#B0A88A
Tritanopia (blue-blind)
#B5A29F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa789;
/* rgb */ color: rgb(175, 167, 137);
/* oklch */ color: oklch(72.7% 0.043 94.8);
Tailwind
colors: {
  custom: {
    50: '#c7c1ab',
    500: '#afa789',
    950: '#000000',
  },
}
SCSS
$custom: #afa789;
$custom-light: #c7c1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afa789",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 137
  },
  "hsl": {
    "h": 47.368,
    "s": 19.192,
    "l": 61.176
  },
  "oklch": {
    "l": 0.72712,
    "c": 0.0426,
    "h": 94.8
  },
  "luminance": 0.38558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA789

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

Preview Lab → · Contrast checker → · Palette generator →

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