#AFA47E#AFA47E

#AFA47E is a light, muted yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.054 H 93.9°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#AFA47E
RGBrgb(175, 164, 126)
HSLhsl(47, 23%, 59%)
HSVhsv(47, 28%, 69%)
CMYKcmyk(0%, 6.3%, 28%, 31.4%)
CIE-LABlab(67.41, -2.08, 21.20)
CIE-LCHlch(67.41, 21.31, 95.61°)
OKLaboklab(71.83% -0.0036 0.0536)
OKLCHoklch(71.83% 0.054 93.9)
XYZxyz(34.7208, 37.1721, 25.0805)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA47E #7E89AF
analogous
#AF8C7E #AFA47E #A2AF7E
triadic
#AFA47E #7EAFA4 #A47EAF
tetradic
#AFA47E #7EAF8C #7E89AF #AF7EA2
square
#AFA47E #7EAF8C #7E89AF #AF7EA2
split-complementary
#AFA47E #7EA2AF #8C7EAF
monochromatic
#6E6544 #94875C #AFA47E #C6BFA4 #DED9CA

Accessibility & contrast

On white

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

On black

8.43
#AFA47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA47E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA47E#FFFFFF#000000##000000
##AFA47E1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa47e;
/* rgb */ color: rgb(175, 164, 126);
/* oklch */ color: oklch(71.8% 0.054 93.9);
Tailwind
colors: {
  custom: {
    50: '#c7bea3',
    500: '#afa47e',
    950: '#000000',
  },
}
SCSS
$custom: #afa47e;
$custom-light: #c7bea3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa47e",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 126
  },
  "hsl": {
    "h": 46.531,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.71832,
    "c": 0.05373,
    "h": 93.9
  },
  "luminance": 0.37171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA47E

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

Preview Lab → · Contrast checker → · Palette generator →

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