#AFA963#AFA963

#AFA963 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.092 H 104.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#AFA963
RGBrgb(175, 169, 99)
HSLhsl(55, 32%, 54%)
HSVhsv(55, 43%, 69%)
CMYKcmyk(0%, 3.4%, 43.4%, 31.4%)
CIE-LABlab(68.31, -8.04, 36.80)
CIE-LCHlch(68.31, 37.66, 102.33°)
OKLaboklab(72.4% -0.0224 0.089)
OKLCHoklch(72.4% 0.092 104.2)
XYZxyz(34.1200, 38.3917, 17.4149)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA963 #6369AF
analogous
#AF8363 #AFA963 #8FAF63
triadic
#AFA963 #63AFA9 #A963AF
tetradic
#AFA963 #63AF83 #6369AF #AF638F
square
#AFA963 #63AF83 #6369AF #AF638F
split-complementary
#AFA963 #638FAF #8363AF
monochromatic
#646033 #8D8748 #AFA963 #C4BF8B #D8D6B4

Accessibility & contrast

On white

2.42
#AFA963 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#AFA963 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA963
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA963#FFFFFF#000000##000000
##AFA9631.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A45D
Deuteranopia (green-blind)
#B6A866
Tritanopia (blue-blind)
#B9A198
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa963;
/* rgb */ color: rgb(175, 169, 99);
/* oklch */ color: oklch(72.4% 0.092 104.2);
Tailwind
colors: {
  custom: {
    50: '#c8c290',
    500: '#afa963',
    950: '#000000',
  },
}
SCSS
$custom: #afa963;
$custom-light: #c8c290;
$custom-dark: #000000;
JSON
{
  "hex": "#afa963",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 99
  },
  "hsl": {
    "h": 55.263,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.72399,
    "c": 0.09175,
    "h": 104.2
  },
  "luminance": 0.38391
}

Semantic roles & 50–950 ramp

primary
#AFA963
secondary
#A7A9C7
accent
#68C85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA963

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

Preview Lab → · Contrast checker → · Palette generator →

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