#AFA880#AFA880

#AFA880 is a light, muted yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.055 H 99.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#AFA880
RGBrgb(175, 168, 128)
HSLhsl(51, 23%, 59%)
HSVhsv(51, 27%, 69%)
CMYKcmyk(0%, 4%, 26.9%, 31.4%)
CIE-LABlab(68.52, -3.96, 21.63)
CIE-LCHlch(68.52, 21.98, 100.37°)
OKLaboklab(72.72% -0.0089 0.0547)
OKLCHoklch(72.72% 0.055 99.3)
XYZxyz(35.5782, 38.6785, 26.0094)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA880 #8087AF
analogous
#AF9180 #AFA880 #9FAF80
triadic
#AFA880 #80AFA8 #A880AF
tetradic
#AFA880 #80AF91 #8087AF #AF809F
square
#AFA880 #80AF91 #8087AF #AF809F
split-complementary
#AFA880 #809FAF #9180AF
monochromatic
#6F6946 #948C5D #AFA880 #C7C2A6 #DEDBCB

Accessibility & contrast

On white

2.40
#AFA880 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#AFA880 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA880
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA880#FFFFFF#000000##000000
##AFA8801.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A57D
Deuteranopia (green-blind)
#B2A881
Tritanopia (blue-blind)
#B6A29D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa880;
/* rgb */ color: rgb(175, 168, 128);
/* oklch */ color: oklch(72.7% 0.055 99.3);
Tailwind
colors: {
  custom: {
    50: '#c7c1a5',
    500: '#afa880',
    950: '#000000',
  },
}
SCSS
$custom: #afa880;
$custom-light: #c7c1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa880",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 128
  },
  "hsl": {
    "h": 51.064,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.72722,
    "c": 0.05539,
    "h": 99.3
  },
  "luminance": 0.38678
}

Semantic roles & 50–950 ramp

primary
#AFA880
secondary
#BCBFCF
accent
#75BF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA880

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

Preview Lab → · Contrast checker → · Palette generator →

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