#AFA482#AFA482

#AFA482 is a light, muted yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.049 H 92.3°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#AFA482
RGBrgb(175, 164, 130)
HSLhsl(45, 22%, 60%)
HSVhsv(45, 26%, 69%)
CMYKcmyk(0%, 6.3%, 25.7%, 31.4%)
CIE-LABlab(67.48, -1.52, 19.12)
CIE-LCHlch(67.48, 19.18, 94.54°)
OKLaboklab(71.92% -0.0019 0.0486)
OKLCHoklch(71.92% 0.049 92.3)
XYZxyz(34.9841, 37.2774, 26.4671)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA482 #828DAF
analogous
#AF8E82 #AFA482 #A4AF82
triadic
#AFA482 #82AFA4 #A482AF
tetradic
#AFA482 #82AF8E #828DAF #AF82A4
square
#AFA482 #82AF8E #828DAF #AF82A4
split-complementary
#AFA482 #82A4AF #8E82AF
monochromatic
#6F6647 #95885F #AFA482 #C7BFA7 #DFDACD

Accessibility & contrast

On white

2.48
#AFA482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#AFA482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA482
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA482#FFFFFF#000000##000000
##AFA4821.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA280
Deuteranopia (green-blind)
#AFA683
Tritanopia (blue-blind)
#B69F9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa482;
/* rgb */ color: rgb(175, 164, 130);
/* oklch */ color: oklch(71.9% 0.049 92.3);
Tailwind
colors: {
  custom: {
    50: '#c7bea6',
    500: '#afa482',
    950: '#000000',
  },
}
SCSS
$custom: #afa482;
$custom-light: #c7bea6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa482",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 130
  },
  "hsl": {
    "h": 45.333,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.7192,
    "c": 0.04865,
    "h": 92.3
  },
  "luminance": 0.37277
}

Semantic roles & 50–950 ramp

primary
#AFA482
secondary
#BEC2CF
accent
#7EBE69
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA482

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

Preview Lab → · Contrast checker → · Palette generator →

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