#AFA575#AFA575

#AFA575 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.066 H 97.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AFA575
RGBrgb(175, 165, 117)
HSLhsl(50, 27%, 57%)
HSVhsv(50, 33%, 69%)
CMYKcmyk(0%, 5.7%, 33.1%, 31.4%)
CIE-LABlab(67.51, -3.82, 26.23)
CIE-LCHlch(67.51, 26.51, 98.28°)
OKLaboklab(71.86% -0.0089 0.0654)
OKLCHoklch(71.86% 0.066 97.8)
XYZxyz(34.3456, 37.3095, 22.2184)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA575 #757FAF
analogous
#AF8875 #AFA575 #9CAF75
triadic
#AFA575 #75AFA5 #A575AF
tetradic
#AFA575 #75AF88 #757FAF #AF759C
square
#AFA575 #75AF88 #757FAF #AF759C
split-complementary
#AFA575 #759CAF #8875AF
monochromatic
#6B643E #928855 #AFA575 #C5BE9C #DCD8C2

Accessibility & contrast

On white

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

On black

8.46
#AFA575 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA575
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA575#FFFFFF#000000##000000
##AFA5751.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA272
Deuteranopia (green-blind)
#B1A677
Tritanopia (blue-blind)
#B89E98
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa575;
/* rgb */ color: rgb(175, 165, 117);
/* oklch */ color: oklch(71.9% 0.066 97.8);
Tailwind
colors: {
  custom: {
    50: '#c7bf9d',
    500: '#afa575',
    950: '#000000',
  },
}
SCSS
$custom: #afa575;
$custom-light: #c7bf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa575",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 117
  },
  "hsl": {
    "h": 49.655,
    "s": 26.606,
    "l": 57.255
  },
  "oklch": {
    "l": 0.71859,
    "c": 0.06603,
    "h": 97.8
  },
  "luminance": 0.37309
}

Semantic roles & 50–950 ramp

primary
#AFA575
secondary
#B4B8CC
accent
#75C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA575

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

Preview Lab → · Contrast checker → · Palette generator →

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