#AFAB84#AFAB84

#AFAB84 is a light, muted yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.054 H 102.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#AFAB84
RGBrgb(175, 171, 132)
HSLhsl(54, 21%, 60%)
HSVhsv(54, 25%, 69%)
CMYKcmyk(0%, 2.3%, 24.6%, 31.4%)
CIE-LABlab(69.40, -4.99, 20.66)
CIE-LCHlch(69.40, 21.25, 103.59°)
OKLaboklab(73.45% -0.0118 0.0524)
OKLCHoklch(73.45% 0.054 102.7)
XYZxyz(36.4070, 39.9063, 27.6101)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB84 #8488AF
analogous
#AF9684 #AFAB84 #9DAF84
triadic
#AFAB84 #84AFAB #AB84AF
tetradic
#AFAB84 #84AF96 #8488AF #AF849D
square
#AFAB84 #84AF96 #8488AF #AF849D
split-complementary
#AFAB84 #849DAF #9684AF
monochromatic
#706C49 #959061 #AFAB84 #C7C4A9 #DFDECE

Accessibility & contrast

On white

2.34
#AFAB84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#AFAB84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB84
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB84#FFFFFF#000000##000000
##AFAB841.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A882
Deuteranopia (green-blind)
#B4AB85
Tritanopia (blue-blind)
#B6A6A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afab84;
/* rgb */ color: rgb(175, 171, 132);
/* oklch */ color: oklch(73.4% 0.054 102.7);
Tailwind
colors: {
  custom: {
    50: '#c7c3a8',
    500: '#afab84',
    950: '#000000',
  },
}
SCSS
$custom: #afab84;
$custom-light: #c7c3a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afab84",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 132
  },
  "hsl": {
    "h": 54.419,
    "s": 21.182,
    "l": 60.196
  },
  "oklch": {
    "l": 0.73447,
    "c": 0.05369,
    "h": 102.7
  },
  "luminance": 0.39906
}

Semantic roles & 50–950 ramp

primary
#AFAB84
secondary
#BFC1D0
accent
#4EA046
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAB84

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

Preview Lab → · Contrast checker → · Palette generator →

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