#AFA47D#AFA47D

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

Color values

HEX#AFA47D
RGBrgb(175, 164, 125)
HSLhsl(47, 24%, 59%)
HSVhsv(47, 29%, 69%)
CMYKcmyk(0%, 6.3%, 28.6%, 31.4%)
CIE-LABlab(67.39, -2.22, 21.72)
CIE-LCHlch(67.39, 21.84, 95.83°)
OKLaboklab(71.81% -0.004 0.0549)
OKLCHoklch(71.81% 0.055 94.2)
XYZxyz(34.6566, 37.1464, 24.7424)
Luminance0.3715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA47D #7D88AF
analogous
#AF8B7D #AFA47D #A1AF7D
triadic
#AFA47D #7DAFA4 #A47DAF
tetradic
#AFA47D #7DAF8B #7D88AF #AF7DA1
square
#AFA47D #7DAF8B #7D88AF #AF7DA1
split-complementary
#AFA47D #7DA1AF #8B7DAF
monochromatic
#6E6544 #94875B #AFA47D #C6BFA3 #DED9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA47D#FFFFFF#000000##000000
##AFA47D1.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)
#ACA27A
Deuteranopia (green-blind)
#AFA67E
Tritanopia (blue-blind)
#B79E9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa47d;
/* rgb */ color: rgb(175, 164, 125);
/* oklch */ color: oklch(71.8% 0.055 94.2);
Tailwind
colors: {
  custom: {
    50: '#c7bea3',
    500: '#afa47d',
    950: '#000000',
  },
}
SCSS
$custom: #afa47d;
$custom-light: #c7bea3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa47d",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 125
  },
  "hsl": {
    "h": 46.8,
    "s": 23.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.7181,
    "c": 0.055,
    "h": 94.2
  },
  "luminance": 0.37146
}

Semantic roles & 50–950 ramp

primary
#AFA47D
secondary
#BABECE
accent
#7BC068
background
#FCFBFA
surface
#F8F6F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA47D

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

Preview Lab → · Contrast checker → · Palette generator →

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