#AFA579#AFA579

#AFA579 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.061 H 96.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AFA579
RGBrgb(175, 165, 121)
HSLhsl(49, 25%, 58%)
HSVhsv(49, 31%, 69%)
CMYKcmyk(0%, 5.7%, 30.9%, 31.4%)
CIE-LABlab(67.58, -3.30, 24.16)
CIE-LCHlch(67.58, 24.39, 97.77°)
OKLaboklab(71.94% -0.0073 0.0606)
OKLCHoklch(71.94% 0.061 96.8)
XYZxyz(34.5858, 37.4056, 23.4835)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA579 #7983AF
analogous
#AF8A79 #AFA579 #9EAF79
triadic
#AFA579 #79AFA5 #A579AF
tetradic
#AFA579 #79AF8A #7983AF #AF799E
square
#AFA579 #79AF8A #7983AF #AF799E
split-complementary
#AFA579 #799EAF #8A79AF
monochromatic
#6D6541 #938858 #AFA579 #C6BF9F #DDD8C6

Accessibility & contrast

On white

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

On black

8.48
#AFA579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA579
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA579#FFFFFF#000000##000000
##AFA5791.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA376
Deuteranopia (green-blind)
#B1A67B
Tritanopia (blue-blind)
#B79F99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa579;
/* rgb */ color: rgb(175, 165, 121);
/* oklch */ color: oklch(71.9% 0.061 96.8);
Tailwind
colors: {
  custom: {
    50: '#c7bfa0',
    500: '#afa579',
    950: '#000000',
  },
}
SCSS
$custom: #afa579;
$custom-light: #c7bfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa579",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 121
  },
  "hsl": {
    "h": 48.889,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.71939,
    "c": 0.06104,
    "h": 96.8
  },
  "luminance": 0.37405
}

Semantic roles & 50–950 ramp

primary
#AFA579
secondary
#B7BBCD
accent
#77C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA579

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

Preview Lab → · Contrast checker → · Palette generator →

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