#AFA472#AFA472

#AFA472 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.069 H 97.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#AFA472
RGBrgb(175, 164, 114)
HSLhsl(49, 28%, 57%)
HSVhsv(49, 35%, 69%)
CMYKcmyk(0%, 6.3%, 34.9%, 31.4%)
CIE-LABlab(67.19, -3.66, 27.43)
CIE-LCHlch(67.19, 27.67, 97.59°)
OKLaboklab(71.59% -0.0087 0.0681)
OKLCHoklch(71.59% 0.069 97.2)
XYZxyz(33.9924, 36.8807, 21.2444)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA472 #727DAF
analogous
#AF8672 #AFA472 #9CAF72
triadic
#AFA472 #72AFA4 #A472AF
tetradic
#AFA472 #72AF86 #727DAF #AF729C
square
#AFA472 #72AF86 #727DAF #AF729C
split-complementary
#AFA472 #729CAF #8672AF
monochromatic
#6A623C #918652 #AFA472 #C5BD99 #DBD6C0

Accessibility & contrast

On white

2.51
#AFA472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#AFA472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA472
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA472#FFFFFF#000000##000000
##AFA4721.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA16F
Deuteranopia (green-blind)
#B1A574
Tritanopia (blue-blind)
#B89D97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa472;
/* rgb */ color: rgb(175, 164, 114);
/* oklch */ color: oklch(71.6% 0.069 97.2);
Tailwind
colors: {
  custom: {
    50: '#c8be9b',
    500: '#afa472',
    950: '#000000',
  },
}
SCSS
$custom: #afa472;
$custom-light: #c8be9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa472",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 114
  },
  "hsl": {
    "h": 49.18,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.71588,
    "c": 0.06869,
    "h": 97.2
  },
  "luminance": 0.3688
}

Semantic roles & 50–950 ramp

primary
#AFA472
secondary
#B2B6CB
accent
#75C464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA472

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

Preview Lab → · Contrast checker → · Palette generator →

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