#AFA559#AFA559

#AFA559 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.098 H 101.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#AFA559
RGBrgb(175, 165, 89)
HSLhsl(53, 35%, 52%)
HSVhsv(53, 49%, 69%)
CMYKcmyk(0%, 5.7%, 49.1%, 31.4%)
CIE-LABlab(67.09, -6.93, 40.40)
CIE-LCHlch(67.09, 40.99, 99.73°)
OKLaboklab(71.39% -0.0202 0.0963)
OKLCHoklch(71.39% 0.098 101.9)
XYZxyz(32.9384, 36.7466, 14.8070)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA559 #5963AF
analogous
#AF7A59 #AFA559 #8EAF59
triadic
#AFA559 #59AFA5 #A559AF
tetradic
#AFA559 #59AF7A #5963AF #AF598E
square
#AFA559 #59AF7A #5963AF #AF598E
split-complementary
#AFA559 #598EAF #7A59AF
monochromatic
#605A2E #898142 #AFA559 #C3BB82 #D7D2AC

Accessibility & contrast

On white

2.52
#AFA559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#AFA559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA559
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA559#FFFFFF#000000##000000
##AFA5591.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A152
Deuteranopia (green-blind)
#B4A55C
Tritanopia (blue-blind)
#BA9C93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa559;
/* rgb */ color: rgb(175, 165, 89);
/* oklch */ color: oklch(71.4% 0.098 101.9);
Tailwind
colors: {
  custom: {
    50: '#c9bf89',
    500: '#afa559',
    950: '#000000',
  },
}
SCSS
$custom: #afa559;
$custom-light: #c9bf89;
$custom-dark: #000000;
JSON
{
  "hex": "#afa559",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 89
  },
  "hsl": {
    "h": 53.023,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71387,
    "c": 0.09837,
    "h": 101.9
  },
  "luminance": 0.36745
}

Semantic roles & 50–950 ramp

primary
#AFA559
secondary
#9FA3C5
accent
#6ACB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA559

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

Preview Lab → · Contrast checker → · Palette generator →

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