#AFA563#AFA563

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

Color values

HEX#AFA563
RGBrgb(175, 165, 99)
HSLhsl(52, 32%, 54%)
HSVhsv(52, 43%, 69%)
CMYKcmyk(0%, 5.7%, 43.4%, 31.4%)
CIE-LABlab(67.22, -5.92, 35.43)
CIE-LCHlch(67.22, 35.92, 99.49°)
OKLaboklab(71.54% -0.0163 0.0859)
OKLCHoklch(71.54% 0.087 100.8)
XYZxyz(33.3872, 36.9261, 17.1707)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA563 #636DAF
analogous
#AF7F63 #AFA563 #93AF63
triadic
#AFA563 #63AFA5 #A563AF
tetradic
#AFA563 #63AF7F #636DAF #AF6393
square
#AFA563 #63AF7F #636DAF #AF6393
split-complementary
#AFA563 #6393AF #7F63AF
monochromatic
#645E33 #8D8448 #AFA563 #C4BC8B #D8D4B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA563#FFFFFF#000000##000000
##AFA5631.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)
#B0A15E
Deuteranopia (green-blind)
#B3A666
Tritanopia (blue-blind)
#B99D95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa563;
/* rgb */ color: rgb(175, 165, 99);
/* oklch */ color: oklch(71.5% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#c8bf90',
    500: '#afa563',
    950: '#000000',
  },
}
SCSS
$custom: #afa563;
$custom-light: #c8bf90;
$custom-dark: #000000;
JSON
{
  "hex": "#afa563",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 99
  },
  "hsl": {
    "h": 52.105,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71538,
    "c": 0.08742,
    "h": 100.8
  },
  "luminance": 0.36925
}

Semantic roles & 50–950 ramp

primary
#AFA563
secondary
#A7ABC7
accent
#6DC85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA563

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

Preview Lab → · Contrast checker → · Palette generator →

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