#AFA964#AFA964

#AFA964 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.091 H 104.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AFA964
RGBrgb(175, 169, 100)
HSLhsl(55, 32%, 54%)
HSVhsv(55, 43%, 69%)
CMYKcmyk(0%, 3.4%, 42.9%, 31.4%)
CIE-LABlab(68.32, -7.94, 36.30)
CIE-LCHlch(68.32, 37.15, 102.34°)
OKLaboklab(72.41% -0.022 0.0879)
OKLCHoklch(72.41% 0.091 104.1)
XYZxyz(34.1681, 38.4109, 17.6683)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA964 #646AAF
analogous
#AF8464 #AFA964 #90AF64
triadic
#AFA964 #64AFA9 #A964AF
tetradic
#AFA964 #64AF84 #646AAF #AF6490
square
#AFA964 #64AF84 #646AAF #AF6490
split-complementary
#AFA964 #6490AF #8464AF
monochromatic
#656134 #8D8849 #AFA964 #C4BF8C #D9D6B5

Accessibility & contrast

On white

2.42
#AFA964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#AFA964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA964
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA964#FFFFFF#000000##000000
##AFA9641.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45F
Deuteranopia (green-blind)
#B6A867
Tritanopia (blue-blind)
#B9A198
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa964;
/* rgb */ color: rgb(175, 169, 100);
/* oklch */ color: oklch(72.4% 0.091 104.1);
Tailwind
colors: {
  custom: {
    50: '#c8c291',
    500: '#afa964',
    950: '#000000',
  },
}
SCSS
$custom: #afa964;
$custom-light: #c8c291;
$custom-dark: #000000;
JSON
{
  "hex": "#afa964",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 100
  },
  "hsl": {
    "h": 55.2,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72415,
    "c": 0.09061,
    "h": 104.1
  },
  "luminance": 0.3841
}

Semantic roles & 50–950 ramp

primary
#AFA964
secondary
#A7AAC7
accent
#68C860
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA964

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

Preview Lab → · Contrast checker → · Palette generator →

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