#AFA776#AFA776

#AFA776 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.067 H 100.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AFA776
RGBrgb(175, 167, 118)
HSLhsl(52, 26%, 57%)
HSVhsv(52, 33%, 69%)
CMYKcmyk(0%, 4.6%, 32.6%, 31.4%)
CIE-LABlab(68.06, -4.76, 26.43)
CIE-LCHlch(68.06, 26.86, 100.21°)
OKLaboklab(72.3% -0.0116 0.0659)
OKLCHoklch(72.3% 0.067 100)
XYZxyz(34.7683, 38.0602, 22.6509)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA776 #767EAF
analogous
#AF8B76 #AFA776 #9AAF76
triadic
#AFA776 #76AFA7 #A776AF
tetradic
#AFA776 #76AF8B #767EAF #AF769A
square
#AFA776 #76AF8B #767EAF #AF769A
split-complementary
#AFA776 #769AAF #8B76AF
monochromatic
#6C653F #928A55 #AFA776 #C6C09D #DCD9C3

Accessibility & contrast

On white

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

On black

8.61
#AFA776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA776
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA776#FFFFFF#000000##000000
##AFA7761.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A473
Deuteranopia (green-blind)
#B3A778
Tritanopia (blue-blind)
#B7A09A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa776;
/* rgb */ color: rgb(175, 167, 118);
/* oklch */ color: oklch(72.3% 0.067 100.0);
Tailwind
colors: {
  custom: {
    50: '#c7c19e',
    500: '#afa776',
    950: '#000000',
  },
}
SCSS
$custom: #afa776;
$custom-light: #c7c19e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa776",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 118
  },
  "hsl": {
    "h": 51.579,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.72304,
    "c": 0.06694,
    "h": 100
  },
  "luminance": 0.38059
}

Semantic roles & 50–950 ramp

primary
#AFA776
secondary
#B5B8CC
accent
#72C365
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA776

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

Preview Lab → · Contrast checker → · Palette generator →

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