#AFAD24#AFAD24

#AFAD24 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.6% C 0.147 H 108.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#AFAD24
RGBrgb(175, 173, 36)
HSLhsl(59, 66%, 41%)
HSVhsv(59, 79%, 69%)
CMYKcmyk(0%, 1.1%, 79.4%, 31.4%)
CIE-LABlab(68.84, -14.49, 64.35)
CIE-LCHlch(68.84, 65.96, 102.69°)
OKLaboklab(72.65% -0.0472 0.1396)
OKLCHoklch(72.65% 0.147 108.7)
XYZxyz(32.9425, 39.1296, 7.4862)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD24 #2426AF
analogous
#AF6824 #AFAD24 #6CAF24
triadic
#AFAD24 #24AFAD #AD24AF
tetradic
#AFAD24 #24AF68 #2426AF #AF246C
square
#AFAD24 #24AF68 #2426AF #AF246C
split-complementary
#AFAD24 #246CAF #6824AF
monochromatic
#49490F #7C7B1A #AFAD24 #D6D43A #E1DF6D

Accessibility & contrast

On white

2.38
#AFAD24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#AFAD24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD24
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD24#FFFFFF#000000##000000
##AFAD241.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#BCA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad24;
/* rgb */ color: rgb(175, 173, 36);
/* oklch */ color: oklch(72.6% 0.147 108.7);
Tailwind
colors: {
  custom: {
    50: '#cbc56c',
    500: '#afad24',
    950: '#000000',
  },
}
SCSS
$custom: #afad24;
$custom-light: #cbc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#afad24",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 36
  },
  "hsl": {
    "h": 59.137,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72646,
    "c": 0.1474,
    "h": 108.7
  },
  "luminance": 0.39128
}

Semantic roles & 50–950 ramp

primary
#AFAD24
secondary
#6869C7
accent
#41E93F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #AFAD24

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

Preview Lab → · Contrast checker → · Palette generator →

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