#AFA96D#AFA96D

#AFA96D is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.080 H 103.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AFA96D
RGBrgb(175, 169, 109)
HSLhsl(55, 29%, 56%)
HSVhsv(55, 38%, 69%)
CMYKcmyk(0%, 3.4%, 37.7%, 31.4%)
CIE-LABlab(68.46, -6.93, 31.75)
CIE-LCHlch(68.46, 32.50, 102.31°)
OKLaboklab(72.57% -0.0184 0.078)
OKLCHoklch(72.57% 0.08 103.3)
XYZxyz(34.6280, 38.5949, 20.0905)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA96D #6D73AF
analogous
#AF886D #AFA96D #94AF6D
triadic
#AFA96D #6DAFA9 #A96DAF
tetradic
#AFA96D #6DAF88 #6D73AF #AF6D94
square
#AFA96D #6DAF88 #6D73AF #AF6D94
split-complementary
#AFA96D #6D94AF #886DAF
monochromatic
#686439 #908A4F #AFA96D #C5C095 #DAD8BC

Accessibility & contrast

On white

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

On black

8.72
#AFA96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA96D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA96D#FFFFFF#000000##000000
##AFA96D1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A569
Deuteranopia (green-blind)
#B5A86F
Tritanopia (blue-blind)
#B8A19A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa96d;
/* rgb */ color: rgb(175, 169, 109);
/* oklch */ color: oklch(72.6% 0.080 103.3);
Tailwind
colors: {
  custom: {
    50: '#c8c297',
    500: '#afa96d',
    950: '#000000',
  },
}
SCSS
$custom: #afa96d;
$custom-light: #c8c297;
$custom-dark: #000000;
JSON
{
  "hex": "#afa96d",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 109
  },
  "hsl": {
    "h": 54.545,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.08016,
    "h": 103.3
  },
  "luminance": 0.38594
}

Semantic roles & 50–950 ramp

primary
#AFA96D
secondary
#AEB1CA
accent
#6BC562
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA96D

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

Preview Lab → · Contrast checker → · Palette generator →

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