#AFA659#AFA659

#AFA659 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.099 H 102.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#AFA659
RGBrgb(175, 166, 89)
HSLhsl(54, 35%, 52%)
HSVhsv(54, 49%, 69%)
CMYKcmyk(0%, 5.1%, 49.1%, 31.4%)
CIE-LABlab(67.36, -7.46, 40.73)
CIE-LCHlch(67.36, 41.41, 100.38°)
OKLaboklab(71.6% -0.0217 0.097)
OKLCHoklch(71.6% 0.099 102.6)
XYZxyz(33.1195, 37.1087, 14.8673)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA659 #5962AF
analogous
#AF7B59 #AFA659 #8DAF59
triadic
#AFA659 #59AFA6 #A659AF
tetradic
#AFA659 #59AF7B #5962AF #AF598D
square
#AFA659 #59AF7B #5962AF #AF598D
split-complementary
#AFA659 #598DAF #7B59AF
monochromatic
#605A2E #898142 #AFA659 #C3BC82 #D7D2AC

Accessibility & contrast

On white

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

On black

8.42
#AFA659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA659
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA659#FFFFFF#000000##000000
##AFA6591.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A152
Deuteranopia (green-blind)
#B5A65C
Tritanopia (blue-blind)
#BA9D94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa659;
/* rgb */ color: rgb(175, 166, 89);
/* oklch */ color: oklch(71.6% 0.099 102.6);
Tailwind
colors: {
  custom: {
    50: '#c9c08a',
    500: '#afa659',
    950: '#000000',
  },
}
SCSS
$custom: #afa659;
$custom-light: #c9c08a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa659",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 89
  },
  "hsl": {
    "h": 53.721,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71603,
    "c": 0.09941,
    "h": 102.6
  },
  "luminance": 0.37108
}

Semantic roles & 50–950 ramp

primary
#AFA659
secondary
#9FA3C5
accent
#68CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA659

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

Preview Lab → · Contrast checker → · Palette generator →

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