#AFA883#AFA883

#AFA883 is a light, muted yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.051 H 98.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#AFA883
RGBrgb(175, 168, 131)
HSLhsl(50, 22%, 60%)
HSVhsv(50, 25%, 69%)
CMYKcmyk(0%, 4%, 25.1%, 31.4%)
CIE-LABlab(68.58, -3.53, 20.07)
CIE-LCHlch(68.58, 20.38, 99.98°)
OKLaboklab(72.79% -0.0077 0.0509)
OKLCHoklch(72.79% 0.052 98.6)
XYZxyz(35.7786, 38.7586, 27.0647)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA883 #838AAF
analogous
#AF9283 #AFA883 #A0AF83
triadic
#AFA883 #83AFA8 #A883AF
tetradic
#AFA883 #83AF92 #838AAF #AF83A0
square
#AFA883 #83AF92 #838AAF #AF83A0
split-complementary
#AFA883 #83A0AF #9283AF
monochromatic
#706948 #958C60 #AFA883 #C7C2A8 #DFDCCD

Accessibility & contrast

On white

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

On black

8.75
#AFA883 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA883
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA883#FFFFFF#000000##000000
##AFA8831.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA681
Deuteranopia (green-blind)
#B2A984
Tritanopia (blue-blind)
#B6A39E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa883;
/* rgb */ color: rgb(175, 168, 131);
/* oklch */ color: oklch(72.8% 0.051 98.6);
Tailwind
colors: {
  custom: {
    50: '#c7c1a7',
    500: '#afa883',
    950: '#000000',
  },
}
SCSS
$custom: #afa883;
$custom-light: #c7c1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa883",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 131
  },
  "hsl": {
    "h": 50.455,
    "s": 21.569,
    "l": 60
  },
  "oklch": {
    "l": 0.72787,
    "c": 0.0515,
    "h": 98.6
  },
  "luminance": 0.38758
}

Semantic roles & 50–950 ramp

primary
#AFA883
secondary
#BEC1CF
accent
#77BE6A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA883

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

Preview Lab → · Contrast checker → · Palette generator →

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