#AFA929#AFA929

#AFA929 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.8% C 0.141 H 106.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA929
RGBrgb(175, 169, 41)
HSLhsl(57, 62%, 42%)
HSVhsv(57, 77%, 69%)
CMYKcmyk(0%, 3.4%, 76.6%, 31.4%)
CIE-LABlab(67.76, -12.24, 61.84)
CIE-LCHlch(67.76, 63.04, 101.20°)
OKLaboklab(71.79% -0.0405 0.1352)
OKLCHoklch(71.79% 0.141 106.7)
XYZxyz(32.2687, 37.6512, 7.6650)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA929 #292FAF
analogous
#AF6629 #AFA929 #72AF29
triadic
#AFA929 #29AFA9 #A929AF
tetradic
#AFA929 #29AF66 #292FAF #AF2972
square
#AFA929 #29AF66 #292FAF #AF2972
split-complementary
#AFA929 #2972AF #6629AF
monochromatic
#4C4912 #7D791D #AFA929 #D3CC42 #DEDA74

Accessibility & contrast

On white

2.46
#AFA929 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#AFA929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA929
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA929#FFFFFF#000000##000000
##AFA9291.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A208
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#BC9D91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa929;
/* rgb */ color: rgb(175, 169, 41);
/* oklch */ color: oklch(71.8% 0.141 106.7);
Tailwind
colors: {
  custom: {
    50: '#cbc26e',
    500: '#afa929',
    950: '#000000',
  },
}
SCSS
$custom: #afa929;
$custom-light: #cbc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa929",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 41
  },
  "hsl": {
    "h": 57.313,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7179,
    "c": 0.14113,
    "h": 106.7
  },
  "luminance": 0.3765
}

Semantic roles & 50–950 ramp

primary
#AFA929
secondary
#6E72C6
accent
#4AE543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA929

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

Preview Lab → · Contrast checker → · Palette generator →

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