#AFA16B#AFA16B

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

Color values

HEX#AFA16B
RGBrgb(175, 161, 107)
HSLhsl(48, 30%, 55%)
HSVhsv(48, 39%, 69%)
CMYKcmyk(0%, 8%, 38.9%, 31.4%)
CIE-LABlab(66.26, -2.89, 29.98)
CIE-LCHlch(66.26, 30.12, 95.50°)
OKLaboklab(70.82% -0.0069 0.0738)
OKLCHoklch(70.82% 0.074 95.3)
XYZxyz(33.0786, 35.6663, 19.0489)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA16B #6B79AF
analogous
#AF7F6B #AFA16B #9BAF6B
triadic
#AFA16B #6BAFA1 #A16BAF
tetradic
#AFA16B #6BAF7F #6B79AF #AF6B9B
square
#AFA16B #6BAF7F #6B79AF #AF6B9B
split-complementary
#AFA16B #6B9BAF #7F6BAF
monochromatic
#685E38 #8F824D #AFA16B #C4BA93 #DAD3BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA16B#FFFFFF#000000##000000
##AFA16B1.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)
#AC9E67
Deuteranopia (green-blind)
#AFA36D
Tritanopia (blue-blind)
#B99993
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa16b;
/* rgb */ color: rgb(175, 161, 107);
/* oklch */ color: oklch(70.8% 0.074 95.3);
Tailwind
colors: {
  custom: {
    50: '#c8bc96',
    500: '#afa16b',
    950: '#000000',
  },
}
SCSS
$custom: #afa16b;
$custom-light: #c8bc96;
$custom-dark: #000000;
JSON
{
  "hex": "#afa16b",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 107
  },
  "hsl": {
    "h": 47.647,
    "s": 29.825,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7082,
    "c": 0.07414,
    "h": 95.3
  },
  "luminance": 0.35665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA16B

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

Preview Lab → · Contrast checker → · Palette generator →

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