#AFA96A#AFA96A

#AFA96A is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.084 H 103.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#AFA96A
RGBrgb(175, 169, 106)
HSLhsl(55, 30%, 55%)
HSVhsv(55, 39%, 69%)
CMYKcmyk(0%, 3.4%, 39.4%, 31.4%)
CIE-LABlab(68.41, -7.28, 33.28)
CIE-LCHlch(68.41, 34.06, 102.33°)
OKLaboklab(72.51% -0.0196 0.0814)
OKLCHoklch(72.51% 0.084 103.6)
XYZxyz(34.4693, 38.5314, 19.2544)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA96A #6A70AF
analogous
#AF876A #AFA96A #92AF6A
triadic
#AFA96A #6AAFA9 #A96AAF
tetradic
#AFA96A #6AAF87 #6A70AF #AF6A92
square
#AFA96A #6AAF87 #6A70AF #AF6A92
split-complementary
#AFA96A #6A92AF #876AAF
monochromatic
#676337 #8F894D #AFA96A #C4C092 #DAD7BA

Accessibility & contrast

On white

2.41
#AFA96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#AFA96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA96A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA96A#FFFFFF#000000##000000
##AFA96A1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A565
Deuteranopia (green-blind)
#B6A86D
Tritanopia (blue-blind)
#B8A199
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa96a;
/* rgb */ color: rgb(175, 169, 106);
/* oklch */ color: oklch(72.5% 0.084 103.6);
Tailwind
colors: {
  custom: {
    50: '#c8c295',
    500: '#afa96a',
    950: '#000000',
  },
}
SCSS
$custom: #afa96a;
$custom-light: #c8c295;
$custom-dark: #000000;
JSON
{
  "hex": "#afa96a",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 106
  },
  "hsl": {
    "h": 54.783,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.72514,
    "c": 0.0837,
    "h": 103.6
  },
  "luminance": 0.38531
}

Semantic roles & 50–950 ramp

primary
#AFA96A
secondary
#ACAEC9
accent
#6AC661
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA96A

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

Preview Lab → · Contrast checker → · Palette generator →

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