#AFA16A#AFA16A

#AFA16A is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.075 H 95.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#AFA16A
RGBrgb(175, 161, 106)
HSLhsl(48, 30%, 55%)
HSVhsv(48, 39%, 69%)
CMYKcmyk(0%, 8%, 39.4%, 31.4%)
CIE-LABlab(66.25, -3.00, 30.49)
CIE-LCHlch(66.25, 30.64, 95.62°)
OKLaboklab(70.8% -0.0073 0.075)
OKLCHoklch(70.8% 0.075 95.6)
XYZxyz(33.0262, 35.6454, 18.7734)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA16A #6A78AF
analogous
#AF7E6A #AFA16A #9BAF6A
triadic
#AFA16A #6AAFA1 #A16AAF
tetradic
#AFA16A #6AAF7E #6A78AF #AF6A9B
square
#AFA16A #6AAF7E #6A78AF #AF6A9B
split-complementary
#AFA16A #6A9BAF #7E6AAF
monochromatic
#675D37 #8F824D #AFA16A #C4BA92 #DAD3BA

Accessibility & contrast

On white

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

On black

8.13
#AFA16A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA16A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA16A#FFFFFF#000000##000000
##AFA16A1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E66
Deuteranopia (green-blind)
#AFA36C
Tritanopia (blue-blind)
#B99993
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa16a;
/* rgb */ color: rgb(175, 161, 106);
/* oklch */ color: oklch(70.8% 0.075 95.6);
Tailwind
colors: {
  custom: {
    50: '#c8bc95',
    500: '#afa16a',
    950: '#000000',
  },
}
SCSS
$custom: #afa16a;
$custom-light: #c8bc95;
$custom-dark: #000000;
JSON
{
  "hex": "#afa16a",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 106
  },
  "hsl": {
    "h": 47.826,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.70802,
    "c": 0.07533,
    "h": 95.6
  },
  "luminance": 0.35644
}

Semantic roles & 50–950 ramp

primary
#AFA16A
secondary
#ACB2C9
accent
#76C661
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA16A

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

Preview Lab → · Contrast checker → · Palette generator →

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