#AFAC85#AFAC85

#AFAC85 is a light, muted yellow. Relative luminance 0.403; OKLCH L 73.7% C 0.054 H 104.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#AFAC85
RGBrgb(175, 172, 133)
HSLhsl(56, 21%, 60%)
HSVhsv(56, 24%, 69%)
CMYKcmyk(0%, 1.7%, 24%, 31.4%)
CIE-LABlab(69.69, -5.38, 20.51)
CIE-LCHlch(69.69, 21.20, 104.71°)
OKLaboklab(73.68% -0.0129 0.052)
OKLCHoklch(73.68% 0.054 104)
XYZxyz(36.6653, 40.3130, 28.0354)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC85 #8588AF
analogous
#AF9785 #AFAC85 #9DAF85
triadic
#AFAC85 #85AFAC #AC85AF
tetradic
#AFAC85 #85AF97 #8588AF #AF859D
square
#AFAC85 #85AF97 #8588AF #AF859D
split-complementary
#AFAC85 #859DAF #9785AF
monochromatic
#706D4A #959162 #AFAC85 #C7C5AA #DFDECF

Accessibility & contrast

On white

2.32
#AFAC85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#AFAC85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC85
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC85#FFFFFF#000000##000000
##AFAC851.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A983
Deuteranopia (green-blind)
#B4AB86
Tritanopia (blue-blind)
#B5A7A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afac85;
/* rgb */ color: rgb(175, 172, 133);
/* oklch */ color: oklch(73.7% 0.054 104.0);
Tailwind
colors: {
  custom: {
    50: '#c7c4a8',
    500: '#afac85',
    950: '#000000',
  },
}
SCSS
$custom: #afac85;
$custom-light: #c7c4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afac85",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 133
  },
  "hsl": {
    "h": 55.714,
    "s": 20.792,
    "l": 60.392
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.05361,
    "h": 104
  },
  "luminance": 0.40312
}

Semantic roles & 50–950 ramp

primary
#AFAC85
secondary
#C0C1D0
accent
#4D9F46
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAC85

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

Preview Lab → · Contrast checker → · Palette generator →

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