#AFA573#AFA573

#AFA573 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.068 H 98.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AFA573
RGBrgb(175, 165, 115)
HSLhsl(50, 27%, 57%)
HSVhsv(50, 34%, 69%)
CMYKcmyk(0%, 5.7%, 34.3%, 31.4%)
CIE-LABlab(67.47, -4.07, 27.27)
CIE-LCHlch(67.47, 27.57, 98.49°)
OKLaboklab(71.82% -0.0098 0.0678)
OKLCHoklch(71.82% 0.068 98.2)
XYZxyz(34.2293, 37.2629, 21.6057)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA573 #737DAF
analogous
#AF8773 #AFA573 #9BAF73
triadic
#AFA573 #73AFA5 #A573AF
tetradic
#AFA573 #73AF87 #737DAF #AF739B
square
#AFA573 #73AF87 #737DAF #AF739B
split-complementary
#AFA573 #739BAF #8773AF
monochromatic
#6B633D #928753 #AFA573 #C5BE9A #DCD7C1

Accessibility & contrast

On white

2.48
#AFA573 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AFA573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA573
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA573#FFFFFF#000000##000000
##AFA5731.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA270
Deuteranopia (green-blind)
#B1A675
Tritanopia (blue-blind)
#B89E98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa573;
/* rgb */ color: rgb(175, 165, 115);
/* oklch */ color: oklch(71.8% 0.068 98.2);
Tailwind
colors: {
  custom: {
    50: '#c8bf9b',
    500: '#afa573',
    950: '#000000',
  },
}
SCSS
$custom: #afa573;
$custom-light: #c8bf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa573",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 115
  },
  "hsl": {
    "h": 50,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7182,
    "c": 0.06849,
    "h": 98.2
  },
  "luminance": 0.37262
}

Semantic roles & 50–950 ramp

primary
#AFA573
secondary
#B3B7CB
accent
#74C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA573

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

Preview Lab → · Contrast checker → · Palette generator →

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