#AFA57A#AFA57A

#AFA57A is a light, muted yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.060 H 96.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AFA57A
RGBrgb(175, 165, 122)
HSLhsl(49, 25%, 58%)
HSVhsv(49, 30%, 69%)
CMYKcmyk(0%, 5.7%, 30.3%, 31.4%)
CIE-LABlab(67.60, -3.16, 23.65)
CIE-LCHlch(67.60, 23.86, 97.62°)
OKLaboklab(71.96% -0.0068 0.0594)
OKLCHoklch(71.96% 0.06 96.6)
XYZxyz(34.6475, 37.4302, 23.8082)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA57A #7A84AF
analogous
#AF8A7A #AFA57A #9EAF7A
triadic
#AFA57A #7AAFA5 #A57AAF
tetradic
#AFA57A #7AAF8A #7A84AF #AF7A9E
square
#AFA57A #7AAF8A #7A84AF #AF7A9E
split-complementary
#AFA57A #7A9EAF #8A7AAF
monochromatic
#6D6542 #938859 #AFA57A #C6BFA0 #DDD9C6

Accessibility & contrast

On white

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

On black

8.49
#AFA57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA57A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA57A#FFFFFF#000000##000000
##AFA57A1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa57a;
/* rgb */ color: rgb(175, 165, 122);
/* oklch */ color: oklch(72.0% 0.060 96.6);
Tailwind
colors: {
  custom: {
    50: '#c7bfa0',
    500: '#afa57a',
    950: '#000000',
  },
}
SCSS
$custom: #afa57a;
$custom-light: #c7bfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa57a",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 122
  },
  "hsl": {
    "h": 48.679,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.71959,
    "c": 0.05979,
    "h": 96.6
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#AFA57A
secondary
#B8BCCD
accent
#78C166
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA57A

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

Preview Lab → · Contrast checker → · Palette generator →

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