#AFA585#AFA585

#AFA585 is a light, muted yellow. Relative luminance 0.377; OKLCH L 72.2% C 0.046 H 92.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AFA585
RGBrgb(175, 165, 133)
HSLhsl(46, 21%, 60%)
HSVhsv(46, 24%, 69%)
CMYKcmyk(0%, 5.7%, 24%, 31.4%)
CIE-LABlab(67.81, -1.63, 17.93)
CIE-LCHlch(67.81, 18.00, 95.19°)
OKLaboklab(72.2% -0.0022 0.0457)
OKLCHoklch(72.2% 0.046 92.7)
XYZxyz(35.3680, 37.7184, 27.6030)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA585 #858FAF
analogous
#AF9085 #AFA585 #A4AF85
triadic
#AFA585 #85AFA5 #A585AF
tetradic
#AFA585 #85AF90 #858FAF #AF85A4
square
#AFA585 #85AF90 #858FAF #AF85A4
split-complementary
#AFA585 #85A4AF #9085AF
monochromatic
#70674A #958962 #AFA585 #C7C0AA #DFDCCF

Accessibility & contrast

On white

2.46
#AFA585 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AFA585 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA585
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA585#FFFFFF#000000##000000
##AFA5851.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA383
Deuteranopia (green-blind)
#AFA786
Tritanopia (blue-blind)
#B6A09C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa585;
/* rgb */ color: rgb(175, 165, 133);
/* oklch */ color: oklch(72.2% 0.046 92.7);
Tailwind
colors: {
  custom: {
    50: '#c7bfa8',
    500: '#afa585',
    950: '#000000',
  },
}
SCSS
$custom: #afa585;
$custom-light: #c7bfa8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa585",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 133
  },
  "hsl": {
    "h": 45.714,
    "s": 20.792,
    "l": 60.392
  },
  "oklch": {
    "l": 0.72198,
    "c": 0.04577,
    "h": 92.7
  },
  "luminance": 0.37718
}

Semantic roles & 50–950 ramp

primary
#AFA585
secondary
#C0C4D0
accent
#5B9F46
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA585

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

Preview Lab → · Contrast checker → · Palette generator →

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