#AFA47A#AFA47A

#AFA47A is a light, muted yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.059 H 95.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AFA47A
RGBrgb(175, 164, 122)
HSLhsl(48, 25%, 58%)
HSVhsv(48, 30%, 69%)
CMYKcmyk(0%, 6.3%, 30.3%, 31.4%)
CIE-LABlab(67.33, -2.63, 23.28)
CIE-LCHlch(67.33, 23.43, 96.43°)
OKLaboklab(71.75% -0.0053 0.0585)
OKLCHoklch(71.75% 0.059 95.2)
XYZxyz(34.4678, 37.0709, 23.7483)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA47A #7A85AF
analogous
#AF897A #AFA47A #9FAF7A
triadic
#AFA47A #7AAFA4 #A47AAF
tetradic
#AFA47A #7AAF89 #7A85AF #AF7A9F
square
#AFA47A #7AAF89 #7A85AF #AF7A9F
split-complementary
#AFA47A #7A9FAF #897AAF
monochromatic
#6D6442 #938759 #AFA47A #C6BEA0 #DDD8C6

Accessibility & contrast

On white

2.50
#AFA47A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#AFA47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA47A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA47A#FFFFFF#000000##000000
##AFA47A1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA277
Deuteranopia (green-blind)
#B0A67B
Tritanopia (blue-blind)
#B79E99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa47a;
/* rgb */ color: rgb(175, 164, 122);
/* oklch */ color: oklch(71.7% 0.059 95.2);
Tailwind
colors: {
  custom: {
    50: '#c7bea0',
    500: '#afa47a',
    950: '#000000',
  },
}
SCSS
$custom: #afa47a;
$custom-light: #c7bea0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa47a",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 122
  },
  "hsl": {
    "h": 47.547,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.71747,
    "c": 0.05877,
    "h": 95.2
  },
  "luminance": 0.3707
}

Semantic roles & 50–950 ramp

primary
#AFA47A
secondary
#B8BCCD
accent
#79C166
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA47A

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

Preview Lab → · Contrast checker → · Palette generator →

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