#AFA16C#AFA16C

#AFA16C is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.073 H 95.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AFA16C
RGBrgb(175, 161, 108)
HSLhsl(47, 30%, 55%)
HSVhsv(47, 38%, 69%)
CMYKcmyk(0%, 8%, 38.3%, 31.4%)
CIE-LABlab(66.28, -2.77, 29.46)
CIE-LCHlch(66.28, 29.59, 95.37°)
OKLaboklab(70.84% -0.0065 0.0727)
OKLCHoklch(70.84% 0.073 95.1)
XYZxyz(33.1315, 35.6875, 19.3276)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA16C #6C7AAF
analogous
#AF7F6C #AFA16C #9BAF6C
triadic
#AFA16C #6CAFA1 #A16CAF
tetradic
#AFA16C #6CAF7F #6C7AAF #AF6C9B
square
#AFA16C #6CAF7F #6C7AAF #AF6C9B
split-complementary
#AFA16C #6C9BAF #7F6CAF
monochromatic
#685E39 #90824E #AFA16C #C5BA94 #DAD4BB

Accessibility & contrast

On white

2.58
#AFA16C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#AFA16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA16C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA16C#FFFFFF#000000##000000
##AFA16C1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9E68
Deuteranopia (green-blind)
#AFA36E
Tritanopia (blue-blind)
#B99994
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa16c;
/* rgb */ color: rgb(175, 161, 108);
/* oklch */ color: oklch(70.8% 0.073 95.1);
Tailwind
colors: {
  custom: {
    50: '#c8bc96',
    500: '#afa16c',
    950: '#000000',
  },
}
SCSS
$custom: #afa16c;
$custom-light: #c8bc96;
$custom-dark: #000000;
JSON
{
  "hex": "#afa16c",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 108
  },
  "hsl": {
    "h": 47.463,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.07296,
    "h": 95.1
  },
  "luminance": 0.35686
}

Semantic roles & 50–950 ramp

primary
#AFA16C
secondary
#ADB3C9
accent
#77C662
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA16C

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

Preview Lab → · Contrast checker → · Palette generator →

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