#AFA481#AFA481

#AFA481 is a light, muted yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.050 H 92.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AFA481
RGBrgb(175, 164, 129)
HSLhsl(46, 22%, 60%)
HSVhsv(46, 26%, 69%)
CMYKcmyk(0%, 6.3%, 26.3%, 31.4%)
CIE-LABlab(67.46, -1.66, 19.64)
CIE-LCHlch(67.46, 19.71, 94.84°)
OKLaboklab(71.9% -0.0023 0.0499)
OKLCHoklch(71.9% 0.05 92.7)
XYZxyz(34.9173, 37.2507, 26.1153)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA481 #818CAF
analogous
#AF8D81 #AFA481 #A3AF81
triadic
#AFA481 #81AFA4 #A481AF
tetradic
#AFA481 #81AF8D #818CAF #AF81A3
square
#AFA481 #81AF8D #818CAF #AF81A3
split-complementary
#AFA481 #81A3AF #8D81AF
monochromatic
#6F6547 #95885E #AFA481 #C7BFA6 #DFDACC

Accessibility & contrast

On white

2.49
#AFA481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AFA481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA481
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA481#FFFFFF#000000##000000
##AFA4811.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA27F
Deuteranopia (green-blind)
#AFA682
Tritanopia (blue-blind)
#B69F9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa481;
/* rgb */ color: rgb(175, 164, 129);
/* oklch */ color: oklch(71.9% 0.050 92.7);
Tailwind
colors: {
  custom: {
    50: '#c7bea5',
    500: '#afa481',
    950: '#000000',
  },
}
SCSS
$custom: #afa481;
$custom-light: #c7bea5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa481",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 129
  },
  "hsl": {
    "h": 45.652,
    "s": 22.33,
    "l": 59.608
  },
  "oklch": {
    "l": 0.71897,
    "c": 0.04991,
    "h": 92.7
  },
  "luminance": 0.3725
}

Semantic roles & 50–950 ramp

primary
#AFA481
secondary
#BDC1CF
accent
#7DBF69
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA481

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

Preview Lab → · Contrast checker → · Palette generator →

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