#AFA16D#AFA16D

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

Color values

HEX#AFA16D
RGBrgb(175, 161, 109)
HSLhsl(47, 29%, 56%)
HSVhsv(47, 38%, 69%)
CMYKcmyk(0%, 8%, 37.7%, 31.4%)
CIE-LABlab(66.30, -2.65, 28.95)
CIE-LCHlch(66.30, 29.07, 95.23°)
OKLaboklab(70.86% -0.0061 0.0715)
OKLCHoklch(70.86% 0.072 94.9)
XYZxyz(33.1850, 35.7089, 19.6095)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA16D #6D7BAF
analogous
#AF806D #AFA16D #9CAF6D
triadic
#AFA16D #6DAFA1 #A16DAF
tetradic
#AFA16D #6DAF80 #6D7BAF #AF6D9C
square
#AFA16D #6DAF80 #6D7BAF #AF6D9C
split-complementary
#AFA16D #6D9CAF #806DAF
monochromatic
#685E39 #90824F #AFA16D #C5BA95 #DAD4BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA16D#FFFFFF#000000##000000
##AFA16D1.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)
#AB9F69
Deuteranopia (green-blind)
#AFA36F
Tritanopia (blue-blind)
#B99994
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa16d;
/* rgb */ color: rgb(175, 161, 109);
/* oklch */ color: oklch(70.9% 0.072 94.9);
Tailwind
colors: {
  custom: {
    50: '#c8bc97',
    500: '#afa16d',
    950: '#000000',
  },
}
SCSS
$custom: #afa16d;
$custom-light: #c8bc97;
$custom-dark: #000000;
JSON
{
  "hex": "#afa16d",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 109
  },
  "hsl": {
    "h": 47.273,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.70857,
    "c": 0.07177,
    "h": 94.9
  },
  "luminance": 0.35708
}

Semantic roles & 50–950 ramp

primary
#AFA16D
secondary
#AEB4CA
accent
#77C562
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA16D

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

Preview Lab → · Contrast checker → · Palette generator →

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