#AFA47F#AFA47F

#AFA47F is a light, muted yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.052 H 93.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA47F
RGBrgb(175, 164, 127)
HSLhsl(46, 23%, 59%)
HSVhsv(46, 27%, 69%)
CMYKcmyk(0%, 6.3%, 27.4%, 31.4%)
CIE-LABlab(67.43, -1.94, 20.68)
CIE-LCHlch(67.43, 20.77, 95.37°)
OKLaboklab(71.85% -0.0032 0.0524)
OKLCHoklch(71.85% 0.052 93.5)
XYZxyz(34.7856, 37.1980, 25.4221)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA47F #7F8AAF
analogous
#AF8C7F #AFA47F #A2AF7F
triadic
#AFA47F #7FAFA4 #A47FAF
tetradic
#AFA47F #7FAF8C #7F8AAF #AF7FA2
square
#AFA47F #7FAF8C #7F8AAF #AF7FA2
split-complementary
#AFA47F #7FA2AF #8C7FAF
monochromatic
#6F6545 #94875D #AFA47F #C7BFA5 #DEDACA

Accessibility & contrast

On white

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

On black

8.44
#AFA47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA47F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA47F#FFFFFF#000000##000000
##AFA47F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA27D
Deuteranopia (green-blind)
#AFA680
Tritanopia (blue-blind)
#B79E9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa47f;
/* rgb */ color: rgb(175, 164, 127);
/* oklch */ color: oklch(71.9% 0.052 93.5);
Tailwind
colors: {
  custom: {
    50: '#c7bea4',
    500: '#afa47f',
    950: '#000000',
  },
}
SCSS
$custom: #afa47f;
$custom-light: #c7bea4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa47f",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 127
  },
  "hsl": {
    "h": 46.25,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.71853,
    "c": 0.05246,
    "h": 93.5
  },
  "luminance": 0.37197
}

Semantic roles & 50–950 ramp

primary
#AFA47F
secondary
#BCC0CE
accent
#7CC068
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA47F

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

Preview Lab → · Contrast checker → · Palette generator →

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