#AFA577#AFA577

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

Color values

HEX#AFA577
RGBrgb(175, 165, 119)
HSLhsl(49, 26%, 58%)
HSVhsv(49, 32%, 69%)
CMYKcmyk(0%, 5.7%, 32%, 31.4%)
CIE-LABlab(67.54, -3.56, 25.20)
CIE-LCHlch(67.54, 25.45, 98.04°)
OKLaboklab(71.9% -0.0081 0.063)
OKLCHoklch(71.9% 0.064 97.3)
XYZxyz(34.4645, 37.3570, 22.8443)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA577 #7781AF
analogous
#AF8977 #AFA577 #9DAF77
triadic
#AFA577 #77AFA5 #A577AF
tetradic
#AFA577 #77AF89 #7781AF #AF779D
square
#AFA577 #77AF89 #7781AF #AF779D
split-complementary
#AFA577 #779DAF #8977AF
monochromatic
#6C6440 #938856 #AFA577 #C6BF9E #DCD8C4

Accessibility & contrast

On white

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

On black

8.47
#AFA577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA577
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA577#FFFFFF#000000##000000
##AFA5771.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA274
Deuteranopia (green-blind)
#B1A679
Tritanopia (blue-blind)
#B79E99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa577;
/* rgb */ color: rgb(175, 165, 119);
/* oklch */ color: oklch(71.9% 0.064 97.3);
Tailwind
colors: {
  custom: {
    50: '#c7bf9e',
    500: '#afa577',
    950: '#000000',
  },
}
SCSS
$custom: #afa577;
$custom-light: #c7bf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa577",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 119
  },
  "hsl": {
    "h": 49.286,
    "s": 25.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.71898,
    "c": 0.06355,
    "h": 97.3
  },
  "luminance": 0.37356
}

Semantic roles & 50–950 ramp

primary
#AFA577
secondary
#B6BACC
accent
#76C265
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA577

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

Preview Lab → · Contrast checker → · Palette generator →

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