#AFA580#AFA580

#AFA580 is a light, muted yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.052 H 94.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#AFA580
RGBrgb(175, 165, 128)
HSLhsl(47, 23%, 59%)
HSVhsv(47, 27%, 69%)
CMYKcmyk(0%, 5.7%, 26.9%, 31.4%)
CIE-LABlab(67.71, -2.34, 20.53)
CIE-LCHlch(67.71, 20.66, 96.51°)
OKLaboklab(72.09% -0.0043 0.052)
OKLCHoklch(72.09% 0.052 94.7)
XYZxyz(35.0308, 37.5835, 25.8269)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA580 #808AAF
analogous
#AF8E80 #AFA580 #A2AF80
triadic
#AFA580 #80AFA5 #A580AF
tetradic
#AFA580 #80AF8E #808AAF #AF80A2
square
#AFA580 #80AF8E #808AAF #AF80A2
split-complementary
#AFA580 #80A2AF #8E80AF
monochromatic
#6F6646 #94895D #AFA580 #C7C0A6 #DEDACB

Accessibility & contrast

On white

2.47
#AFA580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AFA580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA580
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA580#FFFFFF#000000##000000
##AFA5801.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37E
Deuteranopia (green-blind)
#B0A681
Tritanopia (blue-blind)
#B79F9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa580;
/* rgb */ color: rgb(175, 165, 128);
/* oklch */ color: oklch(72.1% 0.052 94.7);
Tailwind
colors: {
  custom: {
    50: '#c7bfa5',
    500: '#afa580',
    950: '#000000',
  },
}
SCSS
$custom: #afa580;
$custom-light: #c7bfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa580",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 128
  },
  "hsl": {
    "h": 47.234,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.72086,
    "c": 0.05218,
    "h": 94.7
  },
  "luminance": 0.37583
}

Semantic roles & 50–950 ramp

primary
#AFA580
secondary
#BCC0CF
accent
#7BBF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA580

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

Preview Lab → · Contrast checker → · Palette generator →

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