#AFA47C#AFA47C

#AFA47C is a light, muted yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.056 H 94.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#AFA47C
RGBrgb(175, 164, 124)
HSLhsl(47, 24%, 59%)
HSVhsv(47, 29%, 69%)
CMYKcmyk(0%, 6.3%, 29.1%, 31.4%)
CIE-LABlab(67.37, -2.36, 22.24)
CIE-LCHlch(67.37, 22.37, 96.05°)
OKLaboklab(71.79% -0.0044 0.0561)
OKLCHoklch(71.79% 0.056 94.5)
XYZxyz(34.5930, 37.1210, 24.4077)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA47C #7C87AF
analogous
#AF8A7C #AFA47C #A0AF7C
triadic
#AFA47C #7CAFA4 #A47CAF
tetradic
#AFA47C #7CAF8A #7C87AF #AF7CA0
square
#AFA47C #7CAF8A #7C87AF #AF7CA0
split-complementary
#AFA47C #7CA0AF #8A7CAF
monochromatic
#6E6443 #94875A #AFA47C #C6BEA2 #DDD9C8

Accessibility & contrast

On white

2.49
#AFA47C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#AFA47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA47C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA47C#FFFFFF#000000##000000
##AFA47C1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa47c;
/* rgb */ color: rgb(175, 164, 124);
/* oklch */ color: oklch(71.8% 0.056 94.5);
Tailwind
colors: {
  custom: {
    50: '#c7bea2',
    500: '#afa47c',
    950: '#000000',
  },
}
SCSS
$custom: #afa47c;
$custom-light: #c7bea2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa47c",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 124
  },
  "hsl": {
    "h": 47.059,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.05626,
    "h": 94.5
  },
  "luminance": 0.3712
}

Semantic roles & 50–950 ramp

primary
#AFA47C
secondary
#B9BECD
accent
#7AC167
background
#FCFBFA
surface
#F8F6F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA47C

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

Preview Lab → · Contrast checker → · Palette generator →

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