#AFA980#AFA980

#AFA980 is a light, muted yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.057 H 100.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#AFA980
RGBrgb(175, 169, 128)
HSLhsl(52, 23%, 59%)
HSVhsv(52, 27%, 69%)
CMYKcmyk(0%, 3.4%, 26.9%, 31.4%)
CIE-LABlab(68.79, -4.49, 21.99)
CIE-LCHlch(68.79, 22.45, 101.54°)
OKLaboklab(72.94% -0.0105 0.0555)
OKLCHoklch(72.94% 0.057 100.7)
XYZxyz(35.7636, 39.0491, 26.0711)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA980 #8086AF
analogous
#AF9280 #AFA980 #9EAF80
triadic
#AFA980 #80AFA9 #A980AF
tetradic
#AFA980 #80AF92 #8086AF #AF809E
square
#AFA980 #80AF92 #8086AF #AF809E
split-complementary
#AFA980 #809EAF #9280AF
monochromatic
#6F6A46 #948D5D #AFA980 #C7C2A6 #DEDCCB

Accessibility & contrast

On white

2.38
#AFA980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#AFA980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA980
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA980#FFFFFF#000000##000000
##AFA9801.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A67D
Deuteranopia (green-blind)
#B3A981
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afa980;
/* rgb */ color: rgb(175, 169, 128);
/* oklch */ color: oklch(72.9% 0.057 100.7);
Tailwind
colors: {
  custom: {
    50: '#c7c2a5',
    500: '#afa980',
    950: '#000000',
  },
}
SCSS
$custom: #afa980;
$custom-light: #c7c2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa980",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 128
  },
  "hsl": {
    "h": 52.34,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.72935,
    "c": 0.05652,
    "h": 100.7
  },
  "luminance": 0.39048
}

Semantic roles & 50–950 ramp

primary
#AFA980
secondary
#BCBFCF
accent
#74BF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA980

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

Preview Lab → · Contrast checker → · Palette generator →

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