#AFAB80#AFAB80

#AFAB80 is a light, muted yellow. Relative luminance 0.398; OKLCH L 73.4% C 0.059 H 103.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#AFAB80
RGBrgb(175, 171, 128)
HSLhsl(55, 23%, 59%)
HSVhsv(55, 27%, 69%)
CMYKcmyk(0%, 2.3%, 26.9%, 31.4%)
CIE-LABlab(69.33, -5.56, 22.72)
CIE-LCHlch(69.33, 23.39, 103.74°)
OKLaboklab(73.36% -0.0135 0.0573)
OKLCHoklch(73.36% 0.059 103.3)
XYZxyz(36.1385, 39.7989, 26.1961)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB80 #8084AF
analogous
#AF9480 #AFAB80 #9CAF80
triadic
#AFAB80 #80AFAB #AB80AF
tetradic
#AFAB80 #80AF94 #8084AF #AF809C
square
#AFAB80 #80AF94 #8084AF #AF809C
split-complementary
#AFAB80 #809CAF #9480AF
monochromatic
#6F6B46 #94905D #AFAB80 #C7C4A6 #DEDDCB

Accessibility & contrast

On white

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

On black

8.96
#AFAB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB80
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB80#FFFFFF#000000##000000
##AFAB801.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afab80;
/* rgb */ color: rgb(175, 171, 128);
/* oklch */ color: oklch(73.4% 0.059 103.3);
Tailwind
colors: {
  custom: {
    50: '#c7c3a5',
    500: '#afab80',
    950: '#000000',
  },
}
SCSS
$custom: #afab80;
$custom-light: #c7c3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afab80",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 128
  },
  "hsl": {
    "h": 54.894,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.05888,
    "h": 103.3
  },
  "luminance": 0.39798
}

Semantic roles & 50–950 ramp

primary
#AFAB80
secondary
#BCBECF
accent
#70BF69
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAB80

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

Preview Lab → · Contrast checker → · Palette generator →

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