#AFA57C#AFA57C

#AFA57C is a light, muted yellow. Relative luminance 0.375; OKLCH L 72.0% C 0.057 H 96.0°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#AFA57C
RGBrgb(175, 165, 124)
HSLhsl(48, 24%, 59%)
HSVhsv(48, 29%, 69%)
CMYKcmyk(0%, 5.7%, 29.1%, 31.4%)
CIE-LABlab(67.64, -2.89, 22.61)
CIE-LCHlch(67.64, 22.79, 97.30°)
OKLaboklab(72% -0.006 0.057)
OKLCHoklch(72% 0.057 96)
XYZxyz(34.7727, 37.4803, 24.4675)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA57C #7C86AF
analogous
#AF8B7C #AFA57C #9FAF7C
triadic
#AFA57C #7CAFA5 #A57CAF
tetradic
#AFA57C #7CAF8B #7C86AF #AF7C9F
square
#AFA57C #7CAF8B #7C86AF #AF7C9F
split-complementary
#AFA57C #7C9FAF #8B7CAF
monochromatic
#6E6543 #94885A #AFA57C #C6BFA2 #DDD9C8

Accessibility & contrast

On white

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

On black

8.50
#AFA57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA57C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA57C#FFFFFF#000000##000000
##AFA57C1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa57c;
/* rgb */ color: rgb(175, 165, 124);
/* oklch */ color: oklch(72.0% 0.057 96.0);
Tailwind
colors: {
  custom: {
    50: '#c7bfa2',
    500: '#afa57c',
    950: '#000000',
  },
}
SCSS
$custom: #afa57c;
$custom-light: #c7bfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afa57c",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 124
  },
  "hsl": {
    "h": 48.235,
    "s": 24.171,
    "l": 58.627
  },
  "oklch": {
    "l": 0.72001,
    "c": 0.05727,
    "h": 96
  },
  "luminance": 0.37479
}

Semantic roles & 50–950 ramp

primary
#AFA57C
secondary
#B9BDCD
accent
#79C167
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA57C

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

Preview Lab → · Contrast checker → · Palette generator →

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