#AFA876#AFA876

#AFA876 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.5% C 0.068 H 101.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#AFA876
RGBrgb(175, 168, 118)
HSLhsl(53, 26%, 57%)
HSVhsv(53, 33%, 69%)
CMYKcmyk(0%, 4%, 32.6%, 31.4%)
CIE-LABlab(68.33, -5.29, 26.79)
CIE-LCHlch(68.33, 27.31, 101.18°)
OKLaboklab(72.52% -0.0132 0.0668)
OKLCHoklch(72.52% 0.068 101.1)
XYZxyz(34.9522, 38.4280, 22.7122)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA876 #767DAF
analogous
#AF8C76 #AFA876 #99AF76
triadic
#AFA876 #76AFA8 #A876AF
tetradic
#AFA876 #76AF8C #767DAF #AF7699
square
#AFA876 #76AF8C #767DAF #AF7699
split-complementary
#AFA876 #7699AF #8C76AF
monochromatic
#6C663F #928B55 #AFA876 #C6C19D #DCD9C3

Accessibility & contrast

On white

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

On black

8.69
#AFA876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA876
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA876#FFFFFF#000000##000000
##AFA8761.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A573
Deuteranopia (green-blind)
#B3A878
Tritanopia (blue-blind)
#B7A19B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa876;
/* rgb */ color: rgb(175, 168, 118);
/* oklch */ color: oklch(72.5% 0.068 101.1);
Tailwind
colors: {
  custom: {
    50: '#c7c19e',
    500: '#afa876',
    950: '#000000',
  },
}
SCSS
$custom: #afa876;
$custom-light: #c7c19e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa876",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 118
  },
  "hsl": {
    "h": 52.632,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.72518,
    "c": 0.06805,
    "h": 101.1
  },
  "luminance": 0.38427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA876

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

Preview Lab → · Contrast checker → · Palette generator →

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