#AFA785#AFA785

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

Color values

HEX#AFA785
RGBrgb(175, 167, 133)
HSLhsl(49, 21%, 60%)
HSVhsv(49, 24%, 69%)
CMYKcmyk(0%, 4.6%, 24%, 31.4%)
CIE-LABlab(68.35, -2.71, 18.66)
CIE-LCHlch(68.35, 18.86, 98.25°)
OKLaboklab(72.62% -0.0053 0.0475)
OKLCHoklch(72.62% 0.048 96.3)
XYZxyz(35.7316, 38.4455, 27.7242)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA785 #858DAF
analogous
#AF9285 #AFA785 #A2AF85
triadic
#AFA785 #85AFA7 #A785AF
tetradic
#AFA785 #85AF92 #858DAF #AF85A2
square
#AFA785 #85AF92 #858DAF #AF85A2
split-complementary
#AFA785 #85A2AF #9285AF
monochromatic
#70694A #958B62 #AFA785 #C7C2AA #DFDCCF

Accessibility & contrast

On white

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

On black

8.69
#AFA785 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA785
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA785#FFFFFF#000000##000000
##AFA7851.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA583
Deuteranopia (green-blind)
#B0A886
Tritanopia (blue-blind)
#B6A29E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa785;
/* rgb */ color: rgb(175, 167, 133);
/* oklch */ color: oklch(72.6% 0.048 96.3);
Tailwind
colors: {
  custom: {
    50: '#c7c1a8',
    500: '#afa785',
    950: '#000000',
  },
}
SCSS
$custom: #afa785;
$custom-light: #c7c1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afa785",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 133
  },
  "hsl": {
    "h": 48.571,
    "s": 20.792,
    "l": 60.392
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.04781,
    "h": 96.3
  },
  "luminance": 0.38445
}

Semantic roles & 50–950 ramp

primary
#AFA785
secondary
#C0C3D0
accent
#579F46
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA785

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

Preview Lab → · Contrast checker → · Palette generator →

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