#AFA584#AFA584

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

Color values

HEX#AFA584
RGBrgb(175, 165, 132)
HSLhsl(46, 21%, 60%)
HSVhsv(46, 25%, 69%)
CMYKcmyk(0%, 5.7%, 24.6%, 31.4%)
CIE-LABlab(67.79, -1.77, 18.45)
CIE-LCHlch(67.79, 18.53, 95.49°)
OKLaboklab(72.18% -0.0026 0.047)
OKLCHoklch(72.18% 0.047 93.2)
XYZxyz(35.2993, 37.6909, 27.2409)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA584 #848EAF
analogous
#AF9084 #AFA584 #A3AF84
triadic
#AFA584 #84AFA5 #A584AF
tetradic
#AFA584 #84AF90 #848EAF #AF84A3
square
#AFA584 #84AF90 #848EAF #AF84A3
split-complementary
#AFA584 #84A3AF #9084AF
monochromatic
#706749 #958961 #AFA584 #C7C0A9 #DFDBCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA584#FFFFFF#000000##000000
##AFA5841.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)
#ACA382
Deuteranopia (green-blind)
#AFA785
Tritanopia (blue-blind)
#B6A09C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa584;
/* rgb */ color: rgb(175, 165, 132);
/* oklch */ color: oklch(72.2% 0.047 93.2);
Tailwind
colors: {
  custom: {
    50: '#c7bfa8',
    500: '#afa584',
    950: '#000000',
  },
}
SCSS
$custom: #afa584;
$custom-light: #c7bfa8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa584",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 132
  },
  "hsl": {
    "h": 46.047,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.72175,
    "c": 0.04705,
    "h": 93.2
  },
  "luminance": 0.3769
}

Semantic roles & 50–950 ramp

primary
#AFA584
secondary
#BFC3D0
accent
#5BA046
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA584

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

Preview Lab → · Contrast checker → · Palette generator →

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