#AFA586#AFA586

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

Color values

HEX#AFA586
RGBrgb(175, 165, 134)
HSLhsl(45, 20%, 61%)
HSVhsv(45, 23%, 69%)
CMYKcmyk(0%, 5.7%, 23.4%, 31.4%)
CIE-LABlab(67.83, -1.48, 17.40)
CIE-LCHlch(67.83, 17.47, 94.86°)
OKLaboklab(72.22% -0.0018 0.0445)
OKLCHoklch(72.22% 0.044 92.3)
XYZxyz(35.4374, 37.7462, 27.9686)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA586 #8690AF
analogous
#AF9086 #AFA586 #A4AF86
triadic
#AFA586 #86AFA5 #A586AF
tetradic
#AFA586 #86AF90 #8690AF #AF86A4
square
#AFA586 #86AF90 #8690AF #AF86A4
split-complementary
#AFA586 #86A4AF #9086AF
monochromatic
#70674A #958963 #AFA586 #C7C0AB #E0DCD0

Accessibility & contrast

On white

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

On black

8.55
#AFA586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA586
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA586#FFFFFF#000000##000000
##AFA5861.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa586;
/* rgb */ color: rgb(175, 165, 134);
/* oklch */ color: oklch(72.2% 0.044 92.3);
Tailwind
colors: {
  custom: {
    50: '#c7bfa9',
    500: '#afa586',
    950: '#000000',
  },
}
SCSS
$custom: #afa586;
$custom-light: #c7bfa9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa586",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 134
  },
  "hsl": {
    "h": 45.366,
    "s": 20.398,
    "l": 60.588
  },
  "oklch": {
    "l": 0.72221,
    "c": 0.04449,
    "h": 92.3
  },
  "luminance": 0.37745
}

Semantic roles & 50–950 ramp

primary
#AFA586
secondary
#C1C4D0
accent
#5C9F47
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#131210
muted
#82817F

Preview Lab

Preview with #AFA586

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

Preview Lab → · Contrast checker → · Palette generator →

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