#AFA583#AFA583

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

Color values

HEX#AFA583
RGBrgb(175, 165, 131)
HSLhsl(46, 22%, 60%)
HSVhsv(46, 25%, 69%)
CMYKcmyk(0%, 5.7%, 25.1%, 31.4%)
CIE-LABlab(67.77, -1.92, 18.97)
CIE-LCHlch(67.77, 19.06, 95.77°)
OKLaboklab(72.15% -0.003 0.0482)
OKLCHoklch(72.15% 0.048 93.6)
XYZxyz(35.2312, 37.6637, 26.8822)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA583 #838DAF
analogous
#AF8F83 #AFA583 #A3AF83
triadic
#AFA583 #83AFA5 #A583AF
tetradic
#AFA583 #83AF8F #838DAF #AF83A3
square
#AFA583 #83AF8F #838DAF #AF83A3
split-complementary
#AFA583 #83A3AF #8F83AF
monochromatic
#706748 #958960 #AFA583 #C7C0A8 #DFDBCD

Accessibility & contrast

On white

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

On black

8.53
#AFA583 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA583
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA583#FFFFFF#000000##000000
##AFA5831.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa583;
/* rgb */ color: rgb(175, 165, 131);
/* oklch */ color: oklch(72.2% 0.048 93.6);
Tailwind
colors: {
  custom: {
    50: '#c7bfa7',
    500: '#afa583',
    950: '#000000',
  },
}
SCSS
$custom: #afa583;
$custom-light: #c7bfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa583",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 131
  },
  "hsl": {
    "h": 46.364,
    "s": 21.569,
    "l": 60
  },
  "oklch": {
    "l": 0.72153,
    "c": 0.04834,
    "h": 93.6
  },
  "luminance": 0.37663
}

Semantic roles & 50–950 ramp

primary
#AFA583
secondary
#BEC2CF
accent
#7DBE6A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA583

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

Preview Lab → · Contrast checker → · Palette generator →

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