#AFA560#AFA560

#AFA560 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.091 H 101.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AFA560
RGBrgb(175, 165, 96)
HSLhsl(52, 33%, 53%)
HSVhsv(52, 45%, 69%)
CMYKcmyk(0%, 5.7%, 45.1%, 31.4%)
CIE-LABlab(67.18, -6.24, 36.94)
CIE-LCHlch(67.18, 37.46, 99.58°)
OKLaboklab(71.49% -0.0175 0.0891)
OKLCHoklch(71.49% 0.091 101.1)
XYZxyz(33.2464, 36.8698, 16.4293)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA560 #606AAF
analogous
#AF7D60 #AFA560 #91AF60
triadic
#AFA560 #60AFA5 #A560AF
tetradic
#AFA560 #60AF7D #606AAF #AF6091
square
#AFA560 #60AF7D #606AAF #AF6091
split-complementary
#AFA560 #6091AF #7D60AF
monochromatic
#635D32 #8C8346 #AFA560 #C3BC89 #D8D3B1

Accessibility & contrast

On white

2.51
#AFA560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AFA560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA560
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA560#FFFFFF#000000##000000
##AFA5601.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A15A
Deuteranopia (green-blind)
#B4A563
Tritanopia (blue-blind)
#BA9C94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa560;
/* rgb */ color: rgb(175, 165, 96);
/* oklch */ color: oklch(71.5% 0.091 101.1);
Tailwind
colors: {
  custom: {
    50: '#c8bf8e',
    500: '#afa560',
    950: '#000000',
  },
}
SCSS
$custom: #afa560;
$custom-light: #c8bf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa560",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 96
  },
  "hsl": {
    "h": 52.405,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.09079,
    "h": 101.1
  },
  "luminance": 0.36869
}

Semantic roles & 50–950 ramp

primary
#AFA560
secondary
#A4A9C6
accent
#6CC95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA560

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

Preview Lab → · Contrast checker → · Palette generator →

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