#AFA976#AFA976

#AFA976 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.069 H 102.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#AFA976
RGBrgb(175, 169, 118)
HSLhsl(54, 26%, 57%)
HSVhsv(54, 33%, 69%)
CMYKcmyk(0%, 3.4%, 32.6%, 31.4%)
CIE-LABlab(68.61, -5.83, 27.15)
CIE-LCHlch(68.61, 27.77, 102.11°)
OKLaboklab(72.73% -0.0147 0.0676)
OKLCHoklch(72.73% 0.069 102.3)
XYZxyz(35.1375, 38.7987, 22.7739)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA976 #767CAF
analogous
#AF8C76 #AFA976 #99AF76
triadic
#AFA976 #76AFA9 #A976AF
tetradic
#AFA976 #76AF8C #767CAF #AF7699
square
#AFA976 #76AF8C #767CAF #AF7699
split-complementary
#AFA976 #7699AF #8C76AF
monochromatic
#6C673F #928C55 #AFA976 #C6C19D #DCDAC3

Accessibility & contrast

On white

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

On black

8.76
#AFA976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA976
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA976#FFFFFF#000000##000000
##AFA9761.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A672
Deuteranopia (green-blind)
#B4A978
Tritanopia (blue-blind)
#B7A29C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa976;
/* rgb */ color: rgb(175, 169, 118);
/* oklch */ color: oklch(72.7% 0.069 102.3);
Tailwind
colors: {
  custom: {
    50: '#c7c29e',
    500: '#afa976',
    950: '#000000',
  },
}
SCSS
$custom: #afa976;
$custom-light: #c7c29e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa976",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 118
  },
  "hsl": {
    "h": 53.684,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.72732,
    "c": 0.06919,
    "h": 102.3
  },
  "luminance": 0.38798
}

Semantic roles & 50–950 ramp

primary
#AFA976
secondary
#B5B7CC
accent
#6FC365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA976

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

Preview Lab → · Contrast checker → · Palette generator →

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