#AFA47B#AFA47B

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

Color values

HEX#AFA47B
RGBrgb(175, 164, 123)
HSLhsl(47, 25%, 58%)
HSVhsv(47, 30%, 69%)
CMYKcmyk(0%, 6.3%, 29.7%, 31.4%)
CIE-LABlab(67.35, -2.49, 22.76)
CIE-LCHlch(67.35, 22.90, 96.24°)
OKLaboklab(71.77% -0.0049 0.0573)
OKLCHoklch(71.77% 0.058 94.9)
XYZxyz(34.5301, 37.0958, 24.0763)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA47B #7B86AF
analogous
#AF8A7B #AFA47B #A0AF7B
triadic
#AFA47B #7BAFA4 #A47BAF
tetradic
#AFA47B #7BAF8A #7B86AF #AF7BA0
square
#AFA47B #7BAF8A #7B86AF #AF7BA0
split-complementary
#AFA47B #7BA0AF #8A7BAF
monochromatic
#6D6442 #938759 #AFA47B #C6BEA1 #DDD9C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA47B#FFFFFF#000000##000000
##AFA47B1.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)
#ADA278
Deuteranopia (green-blind)
#B0A67C
Tritanopia (blue-blind)
#B79E99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa47b;
/* rgb */ color: rgb(175, 164, 123);
/* oklch */ color: oklch(71.8% 0.058 94.9);
Tailwind
colors: {
  custom: {
    50: '#c7bea1',
    500: '#afa47b',
    950: '#000000',
  },
}
SCSS
$custom: #afa47b;
$custom-light: #c7bea1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa47b",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 123
  },
  "hsl": {
    "h": 47.308,
    "s": 24.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.71768,
    "c": 0.05752,
    "h": 94.9
  },
  "luminance": 0.37095
}

Semantic roles & 50–950 ramp

primary
#AFA47B
secondary
#B9BDCD
accent
#7AC167
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA47B

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

Preview Lab → · Contrast checker → · Palette generator →

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