#AFA783#AFA783

#AFA783 is a light, muted yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.050 H 97.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AFA783
RGBrgb(175, 167, 131)
HSLhsl(49, 22%, 60%)
HSVhsv(49, 25%, 69%)
CMYKcmyk(0%, 4.6%, 25.1%, 31.4%)
CIE-LABlab(68.31, -2.99, 19.70)
CIE-LCHlch(68.31, 19.93, 98.64°)
OKLaboklab(72.58% -0.0061 0.05)
OKLCHoklch(72.58% 0.05 97)
XYZxyz(35.5947, 38.3908, 27.0034)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA783 #838BAF
analogous
#AF9183 #AFA783 #A1AF83
triadic
#AFA783 #83AFA7 #A783AF
tetradic
#AFA783 #83AF91 #838BAF #AF83A1
square
#AFA783 #83AF91 #838BAF #AF83A1
split-complementary
#AFA783 #83A1AF #9183AF
monochromatic
#706848 #958B60 #AFA783 #C7C1A8 #DFDCCD

Accessibility & contrast

On white

2.42
#AFA783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#AFA783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA783
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA783#FFFFFF#000000##000000
##AFA7831.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa783;
/* rgb */ color: rgb(175, 167, 131);
/* oklch */ color: oklch(72.6% 0.050 97.0);
Tailwind
colors: {
  custom: {
    50: '#c7c1a7',
    500: '#afa783',
    950: '#000000',
  },
}
SCSS
$custom: #afa783;
$custom-light: #c7c1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa783",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 131
  },
  "hsl": {
    "h": 49.091,
    "s": 21.569,
    "l": 60
  },
  "oklch": {
    "l": 0.72576,
    "c": 0.05041,
    "h": 97
  },
  "luminance": 0.3839
}

Semantic roles & 50–950 ramp

primary
#AFA783
secondary
#BEC2CF
accent
#79BE6A
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA783

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

Preview Lab → · Contrast checker → · Palette generator →

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