#AFAB82#AFAB82

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

Color values

HEX#AFAB82
RGBrgb(175, 171, 130)
HSLhsl(55, 22%, 60%)
HSVhsv(55, 26%, 69%)
CMYKcmyk(0%, 2.3%, 25.7%, 31.4%)
CIE-LABlab(69.36, -5.28, 21.69)
CIE-LCHlch(69.36, 22.32, 103.68°)
OKLaboklab(73.4% -0.0127 0.0548)
OKLCHoklch(73.4% 0.056 103)
XYZxyz(36.2714, 39.8521, 26.8962)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB82 #8286AF
analogous
#AF9582 #AFAB82 #9CAF82
triadic
#AFAB82 #82AFAB #AB82AF
tetradic
#AFAB82 #82AF95 #8286AF #AF829C
square
#AFAB82 #82AF95 #8286AF #AF829C
split-complementary
#AFAB82 #829CAF #9582AF
monochromatic
#6F6C47 #95905F #AFAB82 #C7C4A7 #DFDDCD

Accessibility & contrast

On white

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

On black

8.97
#AFAB82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB82
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB82#FFFFFF#000000##000000
##AFAB821.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A87F
Deuteranopia (green-blind)
#B4AA83
Tritanopia (blue-blind)
#B6A5A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afab82;
/* rgb */ color: rgb(175, 171, 130);
/* oklch */ color: oklch(73.4% 0.056 103.0);
Tailwind
colors: {
  custom: {
    50: '#c7c3a6',
    500: '#afab82',
    950: '#000000',
  },
}
SCSS
$custom: #afab82;
$custom-light: #c7c3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afab82",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 130
  },
  "hsl": {
    "h": 54.667,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.73404,
    "c": 0.05629,
    "h": 103
  },
  "luminance": 0.39851
}

Semantic roles & 50–950 ramp

primary
#AFAB82
secondary
#BEBFCF
accent
#71BE69
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAB82

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

Preview Lab → · Contrast checker → · Palette generator →

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