#AFA960#AFA960

#AFA960 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.095 H 104.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AFA960
RGBrgb(175, 169, 96)
HSLhsl(55, 33%, 53%)
HSVhsv(55, 45%, 69%)
CMYKcmyk(0%, 3.4%, 45.1%, 31.4%)
CIE-LABlab(68.27, -8.36, 38.29)
CIE-LCHlch(68.27, 39.19, 102.31°)
OKLaboklab(72.35% -0.0236 0.0921)
OKLCHoklch(72.35% 0.095 104.4)
XYZxyz(33.9792, 38.3354, 16.6736)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA960 #6066AF
analogous
#AF8160 #AFA960 #8DAF60
triadic
#AFA960 #60AFA9 #A960AF
tetradic
#AFA960 #60AF81 #6066AF #AF608D
square
#AFA960 #60AF81 #6066AF #AF608D
split-complementary
#AFA960 #608DAF #8160AF
monochromatic
#635F32 #8C8646 #AFA960 #C3BF89 #D8D5B1

Accessibility & contrast

On white

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

On black

8.67
#AFA960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA960
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA960#FFFFFF#000000##000000
##AFA9601.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45A
Deuteranopia (green-blind)
#B7A863
Tritanopia (blue-blind)
#B9A098
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa960;
/* rgb */ color: rgb(175, 169, 96);
/* oklch */ color: oklch(72.4% 0.095 104.4);
Tailwind
colors: {
  custom: {
    50: '#c8c28e',
    500: '#afa960',
    950: '#000000',
  },
}
SCSS
$custom: #afa960;
$custom-light: #c8c28e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa960",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 96
  },
  "hsl": {
    "h": 55.443,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.72353,
    "c": 0.09508,
    "h": 104.4
  },
  "luminance": 0.38334
}

Semantic roles & 50–950 ramp

primary
#AFA960
secondary
#A4A7C6
accent
#67C95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA960

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

Preview Lab → · Contrast checker → · Palette generator →

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