#AFA473#AFA473

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

Color values

HEX#AFA473
RGBrgb(175, 164, 115)
HSLhsl(49, 27%, 57%)
HSVhsv(49, 34%, 69%)
CMYKcmyk(0%, 6.3%, 34.3%, 31.4%)
CIE-LABlab(67.20, -3.53, 26.91)
CIE-LCHlch(67.20, 27.14, 97.48°)
OKLaboklab(71.61% -0.0082 0.067)
OKLCHoklch(71.61% 0.067 97)
XYZxyz(34.0496, 36.9036, 21.5458)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA473 #737EAF
analogous
#AF8673 #AFA473 #9CAF73
triadic
#AFA473 #73AFA4 #A473AF
tetradic
#AFA473 #73AF86 #737EAF #AF739C
square
#AFA473 #73AF86 #737EAF #AF739C
split-complementary
#AFA473 #739CAF #8673AF
monochromatic
#6B623D #928653 #AFA473 #C5BD9A #DCD7C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA473#FFFFFF#000000##000000
##AFA4731.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)
#AEA170
Deuteranopia (green-blind)
#B1A575
Tritanopia (blue-blind)
#B89D97
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa473;
/* rgb */ color: rgb(175, 164, 115);
/* oklch */ color: oklch(71.6% 0.067 97.0);
Tailwind
colors: {
  custom: {
    50: '#c8be9b',
    500: '#afa473',
    950: '#000000',
  },
}
SCSS
$custom: #afa473;
$custom-light: #c8be9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa473",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 115
  },
  "hsl": {
    "h": 49,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.71607,
    "c": 0.06747,
    "h": 97
  },
  "luminance": 0.36903
}

Semantic roles & 50–950 ramp

primary
#AFA473
secondary
#B3B7CB
accent
#76C464
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA473

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

Preview Lab → · Contrast checker → · Palette generator →

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