#AFA16F#AFA16F

#AFA16F is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.069 H 94.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AFA16F
RGBrgb(175, 161, 111)
HSLhsl(47, 29%, 56%)
HSVhsv(47, 37%, 69%)
CMYKcmyk(0%, 8%, 36.6%, 31.4%)
CIE-LABlab(66.33, -2.41, 27.91)
CIE-LCHlch(66.33, 28.02, 94.93°)
OKLaboklab(70.89% -0.0052 0.0692)
OKLCHoklch(70.89% 0.069 94.3)
XYZxyz(33.2939, 35.7524, 20.1829)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA16F #6F7DAF
analogous
#AF816F #AFA16F #9DAF6F
triadic
#AFA16F #6FAFA1 #A16FAF
tetradic
#AFA16F #6FAF81 #6F7DAF #AF6F9D
square
#AFA16F #6FAF81 #6F7DAF #AF6F9D
split-complementary
#AFA16F #6F9DAF #816FAF
monochromatic
#695F3A #918250 #AFA16F #C5BB96 #DBD4BE

Accessibility & contrast

On white

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

On black

8.15
#AFA16F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA16F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA16F#FFFFFF#000000##000000
##AFA16F1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6B
Deuteranopia (green-blind)
#AFA371
Tritanopia (blue-blind)
#B99A94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa16f;
/* rgb */ color: rgb(175, 161, 111);
/* oklch */ color: oklch(70.9% 0.069 94.3);
Tailwind
colors: {
  custom: {
    50: '#c8bc99',
    500: '#afa16f',
    950: '#000000',
  },
}
SCSS
$custom: #afa16f;
$custom-light: #c8bc99;
$custom-dark: #000000;
JSON
{
  "hex": "#afa16f",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 111
  },
  "hsl": {
    "h": 46.875,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.06938,
    "h": 94.3
  },
  "luminance": 0.35751
}

Semantic roles & 50–950 ramp

primary
#AFA16F
secondary
#B0B5CA
accent
#78C563
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA16F

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

Preview Lab → · Contrast checker → · Palette generator →

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