#AFA582#AFA582

#AFA582 is a light, muted yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.050 H 94.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA582
RGBrgb(175, 165, 130)
HSLhsl(47, 22%, 60%)
HSVhsv(47, 26%, 69%)
CMYKcmyk(0%, 5.7%, 25.7%, 31.4%)
CIE-LABlab(67.75, -2.06, 19.49)
CIE-LCHlch(67.75, 19.60, 96.03°)
OKLaboklab(72.13% -0.0035 0.0495)
OKLCHoklch(72.13% 0.05 94)
XYZxyz(35.1637, 37.6367, 26.5270)
Luminance0.3764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA582 #828CAF
analogous
#AF8F82 #AFA582 #A2AF82
triadic
#AFA582 #82AFA5 #A582AF
tetradic
#AFA582 #82AF8F #828CAF #AF82A2
square
#AFA582 #82AF8F #828CAF #AF82A2
split-complementary
#AFA582 #82A2AF #8F82AF
monochromatic
#6F6647 #95895F #AFA582 #C7C0A7 #DFDBCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA582#FFFFFF#000000##000000
##AFA5821.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)
#ADA380
Deuteranopia (green-blind)
#AFA683
Tritanopia (blue-blind)
#B6A09B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa582;
/* rgb */ color: rgb(175, 165, 130);
/* oklch */ color: oklch(72.1% 0.050 94.0);
Tailwind
colors: {
  custom: {
    50: '#c7bfa6',
    500: '#afa582',
    950: '#000000',
  },
}
SCSS
$custom: #afa582;
$custom-light: #c7bfa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa582",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 130
  },
  "hsl": {
    "h": 46.667,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.04962,
    "h": 94
  },
  "luminance": 0.37636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA582

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

Preview Lab → · Contrast checker → · Palette generator →

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