#AFAB83#AFAB83

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

Color values

HEX#AFAB83
RGBrgb(175, 171, 131)
HSLhsl(55, 22%, 60%)
HSVhsv(55, 25%, 69%)
CMYKcmyk(0%, 2.3%, 25.1%, 31.4%)
CIE-LABlab(69.38, -5.14, 21.17)
CIE-LCHlch(69.38, 21.79, 103.64°)
OKLaboklab(73.43% -0.0123 0.0536)
OKLCHoklch(73.43% 0.055 102.9)
XYZxyz(36.3389, 39.8791, 27.2515)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB83 #8387AF
analogous
#AF9583 #AFAB83 #9DAF83
triadic
#AFAB83 #83AFAB #AB83AF
tetradic
#AFAB83 #83AF95 #8387AF #AF839D
square
#AFAB83 #83AF95 #8387AF #AF839D
split-complementary
#AFAB83 #839DAF #9583AF
monochromatic
#706C48 #959060 #AFAB83 #C7C4A8 #DFDDCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAB83#FFFFFF#000000##000000
##AFAB831.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)
#B2A880
Deuteranopia (green-blind)
#B4AB84
Tritanopia (blue-blind)
#B6A6A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afab83;
/* rgb */ color: rgb(175, 171, 131);
/* oklch */ color: oklch(73.4% 0.055 102.9);
Tailwind
colors: {
  custom: {
    50: '#c7c3a7',
    500: '#afab83',
    950: '#000000',
  },
}
SCSS
$custom: #afab83;
$custom-light: #c7c3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afab83",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 131
  },
  "hsl": {
    "h": 54.545,
    "s": 21.569,
    "l": 60
  },
  "oklch": {
    "l": 0.73425,
    "c": 0.05499,
    "h": 102.9
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#AFAB83
secondary
#BEC0CF
accent
#71BE6A
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAB83

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

Preview Lab → · Contrast checker → · Palette generator →

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