#AFA784#AFA784

#AFA784 is a light, muted yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.049 H 96.7°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AFA784
RGBrgb(175, 167, 132)
HSLhsl(49, 21%, 60%)
HSVhsv(49, 25%, 69%)
CMYKcmyk(0%, 4.6%, 24.6%, 31.4%)
CIE-LABlab(68.33, -2.85, 19.18)
CIE-LCHlch(68.33, 19.39, 98.45°)
OKLaboklab(72.6% -0.0057 0.0488)
OKLCHoklch(72.6% 0.049 96.7)
XYZxyz(35.6628, 38.4180, 27.3621)
Luminance0.3842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA784 #848CAF
analogous
#AF9184 #AFA784 #A1AF84
triadic
#AFA784 #84AFA7 #A784AF
tetradic
#AFA784 #84AF91 #848CAF #AF84A1
square
#AFA784 #84AF91 #848CAF #AF84A1
split-complementary
#AFA784 #84A1AF #9184AF
monochromatic
#706949 #958B61 #AFA784 #C7C2A9 #DFDCCE

Accessibility & contrast

On white

2.42
#AFA784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#AFA784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA784
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA784#FFFFFF#000000##000000
##AFA7841.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA582
Deuteranopia (green-blind)
#B1A885
Tritanopia (blue-blind)
#B6A29D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa784;
/* rgb */ color: rgb(175, 167, 132);
/* oklch */ color: oklch(72.6% 0.049 96.7);
Tailwind
colors: {
  custom: {
    50: '#c7c1a8',
    500: '#afa784',
    950: '#000000',
  },
}
SCSS
$custom: #afa784;
$custom-light: #c7c1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa784",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 132
  },
  "hsl": {
    "h": 48.837,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.04911,
    "h": 96.7
  },
  "luminance": 0.38417
}

Semantic roles & 50–950 ramp

primary
#AFA784
secondary
#BFC2D0
accent
#57A046
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA784

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

Preview Lab → · Contrast checker → · Palette generator →

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