#AFA680#AFA680

#AFA680 is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.053 H 96.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AFA680
RGBrgb(175, 166, 128)
HSLhsl(49, 23%, 59%)
HSVhsv(49, 27%, 69%)
CMYKcmyk(0%, 5.1%, 26.9%, 31.4%)
CIE-LABlab(67.98, -2.88, 20.89)
CIE-LCHlch(67.98, 21.09, 97.85°)
OKLaboklab(72.3% -0.0059 0.0529)
OKLCHoklch(72.3% 0.053 96.3)
XYZxyz(35.2119, 37.9457, 25.8872)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA680 #8089AF
analogous
#AF8F80 #AFA680 #A1AF80
triadic
#AFA680 #80AFA6 #A680AF
tetradic
#AFA680 #80AF8F #8089AF #AF80A1
square
#AFA680 #80AF8F #8089AF #AF80A1
split-complementary
#AFA680 #80A1AF #8F80AF
monochromatic
#6F6746 #948A5D #AFA680 #C7C0A6 #DEDBCB

Accessibility & contrast

On white

2.44
#AFA680 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AFA680 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA680
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA680#FFFFFF#000000##000000
##AFA6801.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA47E
Deuteranopia (green-blind)
#B0A781
Tritanopia (blue-blind)
#B6A09C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa680;
/* rgb */ color: rgb(175, 166, 128);
/* oklch */ color: oklch(72.3% 0.053 96.3);
Tailwind
colors: {
  custom: {
    50: '#c7c0a5',
    500: '#afa680',
    950: '#000000',
  },
}
SCSS
$custom: #afa680;
$custom-light: #c7c0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afa680",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 128
  },
  "hsl": {
    "h": 48.511,
    "s": 22.705,
    "l": 59.412
  },
  "oklch": {
    "l": 0.72298,
    "c": 0.05321,
    "h": 96.3
  },
  "luminance": 0.37945
}

Semantic roles & 50–950 ramp

primary
#AFA680
secondary
#BCC0CF
accent
#79BF69
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA680

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

Preview Lab → · Contrast checker → · Palette generator →

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