#AFA660#AFA660

#AFA660 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.092 H 102.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#AFA660
RGBrgb(175, 166, 96)
HSLhsl(53, 33%, 53%)
HSVhsv(53, 45%, 69%)
CMYKcmyk(0%, 5.1%, 45.1%, 31.4%)
CIE-LABlab(67.45, -6.77, 37.27)
CIE-LCHlch(67.45, 37.88, 100.29°)
OKLaboklab(71.71% -0.019 0.0898)
OKLCHoklch(71.71% 0.092 102)
XYZxyz(33.4275, 37.2319, 16.4897)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA660 #6069AF
analogous
#AF7E60 #AFA660 #90AF60
triadic
#AFA660 #60AFA6 #A660AF
tetradic
#AFA660 #60AF7E #6069AF #AF6090
square
#AFA660 #60AF7E #6069AF #AF6090
split-complementary
#AFA660 #6090AF #7E60AF
monochromatic
#635D32 #8C8446 #AFA660 #C3BD89 #D8D4B1

Accessibility & contrast

On white

2.49
#AFA660 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#AFA660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA660
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA660#FFFFFF#000000##000000
##AFA6601.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A25A
Deuteranopia (green-blind)
#B4A663
Tritanopia (blue-blind)
#B99D95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa660;
/* rgb */ color: rgb(175, 166, 96);
/* oklch */ color: oklch(71.7% 0.092 102.0);
Tailwind
colors: {
  custom: {
    50: '#c8c08e',
    500: '#afa660',
    950: '#000000',
  },
}
SCSS
$custom: #afa660;
$custom-light: #c8c08e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa660",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 96
  },
  "hsl": {
    "h": 53.165,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71706,
    "c": 0.09184,
    "h": 102
  },
  "luminance": 0.37231
}

Semantic roles & 50–950 ramp

primary
#AFA660
secondary
#A4A8C6
accent
#6BC95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA660

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

Preview Lab → · Contrast checker → · Palette generator →

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