#AFAD29#AFAD29

#AFAD29 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.7% C 0.145 H 108.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#AFAD29
RGBrgb(175, 173, 41)
HSLhsl(59, 62%, 42%)
HSVhsv(59, 77%, 69%)
CMYKcmyk(0%, 1.1%, 76.6%, 31.4%)
CIE-LABlab(68.87, -14.31, 62.85)
CIE-LCHlch(68.87, 64.46, 102.82°)
OKLaboklab(72.67% -0.0463 0.1374)
OKLCHoklch(72.67% 0.145 108.6)
XYZxyz(33.0243, 39.1623, 7.9169)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD29 #292BAF
analogous
#AF6A29 #AFAD29 #6EAF29
triadic
#AFAD29 #29AFAD #AD29AF
tetradic
#AFAD29 #29AF6A #292BAF #AF296E
square
#AFAD29 #29AF6A #292BAF #AF296E
split-complementary
#AFAD29 #296EAF #6A29AF
monochromatic
#4C4B12 #7D7C1D #AFAD29 #D3D142 #DEDD74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAD29#FFFFFF#000000##000000
##AFAD291.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)
#BCA605
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#BCA194
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad29;
/* rgb */ color: rgb(175, 173, 41);
/* oklch */ color: oklch(72.7% 0.145 108.6);
Tailwind
colors: {
  custom: {
    50: '#cbc56e',
    500: '#afad29',
    950: '#000000',
  },
}
SCSS
$custom: #afad29;
$custom-light: #cbc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#afad29",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 41
  },
  "hsl": {
    "h": 59.104,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.14494,
    "h": 108.6
  },
  "luminance": 0.39161
}

Semantic roles & 50–950 ramp

primary
#AFAD29
secondary
#6E6FC6
accent
#45E543
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFAD29

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

Preview Lab → · Contrast checker → · Palette generator →

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