#AFA480#AFA480

#AFA480 is a light, muted yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.051 H 93.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA480
RGBrgb(175, 164, 128)
HSLhsl(46, 23%, 59%)
HSVhsv(46, 27%, 69%)
CMYKcmyk(0%, 6.3%, 26.9%, 31.4%)
CIE-LABlab(67.44, -1.80, 20.16)
CIE-LCHlch(67.44, 20.24, 95.11°)
OKLaboklab(71.88% -0.0028 0.0511)
OKLCHoklch(71.88% 0.051 93.1)
XYZxyz(34.8511, 37.2242, 25.7670)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA480 #808BAF
analogous
#AF8D80 #AFA480 #A3AF80
triadic
#AFA480 #80AFA4 #A480AF
tetradic
#AFA480 #80AF8D #808BAF #AF80A3
square
#AFA480 #80AF8D #808BAF #AF80A3
split-complementary
#AFA480 #80A3AF #8D80AF
monochromatic
#6F6546 #94885D #AFA480 #C7BFA6 #DEDACB

Accessibility & contrast

On white

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

On black

8.44
#AFA480 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA480
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA480#FFFFFF#000000##000000
##AFA4801.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA27E
Deuteranopia (green-blind)
#AFA681
Tritanopia (blue-blind)
#B79E9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa480;
/* rgb */ color: rgb(175, 164, 128);
/* oklch */ color: oklch(71.9% 0.051 93.1);
Tailwind
colors: {
  custom: {
    50: '#c7bea5',
    500: '#afa480',
    950: '#000000',
  },
}
SCSS
$custom: #afa480;
$custom-light: #c7bea5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa480",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 128
  },
  "hsl": {
    "h": 45.957,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.71875,
    "c": 0.05119,
    "h": 93.1
  },
  "luminance": 0.37223
}

Semantic roles & 50–950 ramp

primary
#AFA480
secondary
#BCC1CF
accent
#7DBF69
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA480

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

Preview Lab → · Contrast checker → · Palette generator →

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