#AFA78A#AFA78A

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

Color values

HEX#AFA78A
RGBrgb(175, 167, 138)
HSLhsl(47, 19%, 61%)
HSVhsv(47, 21%, 69%)
CMYKcmyk(0%, 4.6%, 21.1%, 31.4%)
CIE-LABlab(68.45, -1.96, 16.06)
CIE-LCHlch(68.45, 16.18, 96.97°)
OKLaboklab(72.74% -0.0032 0.0412)
OKLCHoklch(72.74% 0.041 94.4)
XYZxyz(36.0853, 38.5870, 29.5869)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA78A #8A92AF
analogous
#AF958A #AFA78A #A5AF8A
triadic
#AFA78A #8AAFA7 #A78AAF
tetradic
#AFA78A #8AAF95 #8A92AF #AF8AA5
square
#AFA78A #8AAF95 #8A92AF #AF8AA5
split-complementary
#AFA78A #8AA5AF #958AAF
monochromatic
#71694D #968B66 #AFA78A #C8C2AE #E1DED3

Accessibility & contrast

On white

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

On black

8.72
#AFA78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA78A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA78A#FFFFFF#000000##000000
##AFA78A1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa78a;
/* rgb */ color: rgb(175, 167, 138);
/* oklch */ color: oklch(72.7% 0.041 94.4);
Tailwind
colors: {
  custom: {
    50: '#c7c1ac',
    500: '#afa78a',
    950: '#000000',
  },
}
SCSS
$custom: #afa78a;
$custom-light: #c7c1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afa78a",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 138
  },
  "hsl": {
    "h": 47.027,
    "s": 18.782,
    "l": 61.373
  },
  "oklch": {
    "l": 0.72736,
    "c": 0.04129,
    "h": 94.4
  },
  "luminance": 0.38586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA78A

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

Preview Lab → · Contrast checker → · Palette generator →

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