#AFAA83#AFAA83

#AFAA83 is a light, muted yellow. Relative luminance 0.395; OKLCH L 73.2% C 0.054 H 101.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AFAA83
RGBrgb(175, 170, 131)
HSLhsl(53, 22%, 60%)
HSVhsv(53, 25%, 69%)
CMYKcmyk(0%, 2.9%, 25.1%, 31.4%)
CIE-LABlab(69.11, -4.60, 20.81)
CIE-LCHlch(69.11, 21.31, 102.47°)
OKLaboklab(73.21% -0.0107 0.0527)
OKLCHoklch(73.21% 0.054 101.5)
XYZxyz(36.1507, 39.5027, 27.1887)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA83 #8388AF
analogous
#AF9483 #AFAA83 #9EAF83
triadic
#AFAA83 #83AFAA #AA83AF
tetradic
#AFAA83 #83AF94 #8388AF #AF839E
square
#AFAA83 #83AF94 #8388AF #AF839E
split-complementary
#AFAA83 #839EAF #9483AF
monochromatic
#706B48 #958F60 #AFAA83 #C7C4A8 #DFDDCD

Accessibility & contrast

On white

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

On black

8.90
#AFAA83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA83
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA83#FFFFFF#000000##000000
##AFAA831.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A781
Deuteranopia (green-blind)
#B3AA84
Tritanopia (blue-blind)
#B6A59F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afaa83;
/* rgb */ color: rgb(175, 170, 131);
/* oklch */ color: oklch(73.2% 0.054 101.5);
Tailwind
colors: {
  custom: {
    50: '#c7c3a7',
    500: '#afaa83',
    950: '#000000',
  },
}
SCSS
$custom: #afaa83;
$custom-light: #c7c3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa83",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 131
  },
  "hsl": {
    "h": 53.182,
    "s": 21.569,
    "l": 60
  },
  "oklch": {
    "l": 0.73212,
    "c": 0.0538,
    "h": 101.5
  },
  "luminance": 0.39502
}

Semantic roles & 50–950 ramp

primary
#AFAA83
secondary
#BEC0CF
accent
#73BE6A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFAA83

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

Preview Lab → · Contrast checker → · Palette generator →

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