#AFA565#AFA565

#AFA565 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.085 H 100.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AFA565
RGBrgb(175, 165, 101)
HSLhsl(52, 32%, 54%)
HSVhsv(52, 42%, 69%)
CMYKcmyk(0%, 5.7%, 42.3%, 31.4%)
CIE-LABlab(67.25, -5.71, 34.42)
CIE-LCHlch(67.25, 34.89, 99.41°)
OKLaboklab(71.57% -0.0155 0.0837)
OKLCHoklch(71.57% 0.085 100.5)
XYZxyz(33.4840, 36.9648, 17.6805)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA565 #656FAF
analogous
#AF8065 #AFA565 #94AF65
triadic
#AFA565 #65AFA5 #A565AF
tetradic
#AFA565 #65AF80 #656FAF #AF6594
square
#AFA565 #65AF80 #656FAF #AF6594
split-complementary
#AFA565 #6594AF #8065AF
monochromatic
#655F35 #8D8449 #AFA565 #C4BD8D #D9D4B6

Accessibility & contrast

On white

2.50
#AFA565 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#AFA565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA565
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA565#FFFFFF#000000##000000
##AFA5651.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa565;
/* rgb */ color: rgb(175, 165, 101);
/* oklch */ color: oklch(71.6% 0.085 100.5);
Tailwind
colors: {
  custom: {
    50: '#c8bf92',
    500: '#afa565',
    950: '#000000',
  },
}
SCSS
$custom: #afa565;
$custom-light: #c8bf92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa565",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 101
  },
  "hsl": {
    "h": 51.892,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7157,
    "c": 0.08515,
    "h": 100.5
  },
  "luminance": 0.36964
}

Semantic roles & 50–950 ramp

primary
#AFA565
secondary
#A8ACC8
accent
#6EC860
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA565

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

Preview Lab → · Contrast checker → · Palette generator →

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