#AFAA80#AFAA80

#AFAA80 is a light, muted yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.058 H 102.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AFAA80
RGBrgb(175, 170, 128)
HSLhsl(54, 23%, 59%)
HSVhsv(54, 27%, 69%)
CMYKcmyk(0%, 2.9%, 26.9%, 31.4%)
CIE-LABlab(69.06, -5.03, 22.36)
CIE-LCHlch(69.06, 22.91, 102.67°)
OKLaboklab(73.15% -0.012 0.0564)
OKLCHoklch(73.15% 0.058 102)
XYZxyz(35.9503, 39.4226, 26.1334)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA80 #8085AF
analogous
#AF9380 #AFAA80 #9DAF80
triadic
#AFAA80 #80AFAA #AA80AF
tetradic
#AFAA80 #80AF93 #8085AF #AF809D
square
#AFAA80 #80AF93 #8085AF #AF809D
split-complementary
#AFAA80 #809DAF #9380AF
monochromatic
#6F6A46 #948F5D #AFAA80 #C7C3A6 #DEDCCB

Accessibility & contrast

On white

2.36
#AFAA80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#AFAA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA80
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA80#FFFFFF#000000##000000
##AFAA801.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A77D
Deuteranopia (green-blind)
#B4AA81
Tritanopia (blue-blind)
#B6A49F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa80;
/* rgb */ color: rgb(175, 170, 128);
/* oklch */ color: oklch(73.1% 0.058 102.0);
Tailwind
colors: {
  custom: {
    50: '#c7c3a5',
    500: '#afaa80',
    950: '#000000',
  },
}
SCSS
$custom: #afaa80;
$custom-light: #c7c3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa80",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 128
  },
  "hsl": {
    "h": 53.617,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.73148,
    "c": 0.05768,
    "h": 102
  },
  "luminance": 0.39422
}

Semantic roles & 50–950 ramp

primary
#AFAA80
secondary
#BCBECF
accent
#72BF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAA80

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

Preview Lab → · Contrast checker → · Palette generator →

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