#AFA581#AFA581

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

Color values

HEX#AFA581
RGBrgb(175, 165, 129)
HSLhsl(47, 22%, 60%)
HSVhsv(47, 26%, 69%)
CMYKcmyk(0%, 5.7%, 26.3%, 31.4%)
CIE-LABlab(67.73, -2.20, 20.01)
CIE-LCHlch(67.73, 20.13, 96.28°)
OKLaboklab(72.11% -0.0039 0.0508)
OKLCHoklch(72.11% 0.051 94.4)
XYZxyz(35.0969, 37.6100, 26.1752)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA581 #818BAF
analogous
#AF8E81 #AFA581 #A2AF81
triadic
#AFA581 #81AFA5 #A581AF
tetradic
#AFA581 #81AF8E #818BAF #AF81A2
square
#AFA581 #81AF8E #818BAF #AF81A2
split-complementary
#AFA581 #81A2AF #8E81AF
monochromatic
#6F6647 #95895E #AFA581 #C7C0A6 #DFDACC

Accessibility & contrast

On white

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

On black

8.52
#AFA581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA581
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA581#FFFFFF#000000##000000
##AFA5811.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37F
Deuteranopia (green-blind)
#AFA682
Tritanopia (blue-blind)
#B69F9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa581;
/* rgb */ color: rgb(175, 165, 129);
/* oklch */ color: oklch(72.1% 0.051 94.4);
Tailwind
colors: {
  custom: {
    50: '#c7bfa5',
    500: '#afa581',
    950: '#000000',
  },
}
SCSS
$custom: #afa581;
$custom-light: #c7bfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa581",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 129
  },
  "hsl": {
    "h": 46.957,
    "s": 22.33,
    "l": 59.608
  },
  "oklch": {
    "l": 0.72108,
    "c": 0.0509,
    "h": 94.4
  },
  "luminance": 0.37609
}

Semantic roles & 50–950 ramp

primary
#AFA581
secondary
#BDC1CF
accent
#7CBF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA581

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

Preview Lab → · Contrast checker → · Palette generator →

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