#AAAF29#AAAF29

#AAAF29 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.148 H 111.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AAAF29
RGBrgb(170, 175, 41)
HSLhsl(62, 62%, 42%)
HSVhsv(62, 77%, 69%)
CMYKcmyk(2.9%, 0%, 76.6%, 31.4%)
CIE-LABlab(69.02, -17.50, 62.83)
CIE-LCHlch(69.02, 65.22, 105.56°)
OKLaboklab(72.69% -0.0549 0.1375)
OKLCHoklch(72.69% 0.148 111.8)
XYZxyz(32.3089, 39.3669, 7.9940)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF29 #2E29AF
analogous
#AF7129 #AAAF29 #67AF29
triadic
#AAAF29 #29AAAF #AF29AA
tetradic
#AAAF29 #29AF71 #2E29AF #AF2967
square
#AAAF29 #29AF71 #2E29AF #AF2967
split-complementary
#AAAF29 #2967AF #7129AF
monochromatic
#4A4C12 #7A7D1D #AAAF29 #CDD342 #DADE74

Accessibility & contrast

On white

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

On black

8.87
#AAAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF29
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF29#FFFFFF#000000##000000
##AAAF291.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA704
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#B6A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aaaf29;
/* rgb */ color: rgb(170, 175, 41);
/* oklch */ color: oklch(72.7% 0.148 111.8);
Tailwind
colors: {
  custom: {
    50: '#c7c66e',
    500: '#aaaf29',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf29;
$custom-light: #c7c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf29",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 62.239,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7269,
    "c": 0.14807,
    "h": 111.8
  },
  "luminance": 0.39366
}

Semantic roles & 50–950 ramp

primary
#AAAF29
secondary
#716EC6
accent
#43E549
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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