#AFAD41#AFAD41

#AFAD41 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.129 H 108.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AFAD41
RGBrgb(175, 173, 65)
HSLhsl(59, 46%, 47%)
HSVhsv(59, 63%, 69%)
CMYKcmyk(0%, 1.1%, 62.9%, 31.4%)
CIE-LABlab(69.03, -13.04, 53.93)
CIE-LCHlch(69.03, 55.48, 103.59°)
OKLaboklab(72.85% -0.0403 0.1226)
OKLCHoklch(72.85% 0.129 108.2)
XYZxyz(33.5780, 39.3837, 10.8331)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD41 #4143AF
analogous
#AF7641 #AFAD41 #7AAF41
triadic
#AFAD41 #41AFAD #AD41AF
tetradic
#AFAD41 #41AF76 #4143AF #AF417A
square
#AFAD41 #41AF76 #4143AF #AF417A
split-complementary
#AFAD41 #417AAF #7641AF
monochromatic
#565520 #828130 #AFAD41 #C6C567 #D7D693

Accessibility & contrast

On white

2.37
#AFAD41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#AFAD41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD41
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD41#FFFFFF#000000##000000
##AFAD411.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA634
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#BBA296
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad41;
/* rgb */ color: rgb(175, 173, 65);
/* oklch */ color: oklch(72.9% 0.129 108.2);
Tailwind
colors: {
  custom: {
    50: '#cac57b',
    500: '#afad41',
    950: '#000000',
  },
}
SCSS
$custom: #afad41;
$custom-light: #cac57b;
$custom-dark: #000000;
JSON
{
  "hex": "#afad41",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 65
  },
  "hsl": {
    "h": 58.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72851,
    "c": 0.12907,
    "h": 108.2
  },
  "luminance": 0.39383
}

Semantic roles & 50–950 ramp

primary
#AFAD41
secondary
#898AC2
accent
#55D552
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAD41

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

Preview Lab → · Contrast checker → · Palette generator →

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