#AAAF41#AAAF41

#AAAF41 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.132 H 111.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AAAF41
RGBrgb(170, 175, 65)
HSLhsl(63, 46%, 47%)
HSVhsv(63, 63%, 69%)
CMYKcmyk(2.9%, 0%, 62.9%, 31.4%)
CIE-LABlab(69.18, -16.20, 53.96)
CIE-LCHlch(69.18, 56.34, 106.71°)
OKLaboklab(72.87% -0.0489 0.1228)
OKLCHoklch(72.87% 0.132 111.7)
XYZxyz(32.8626, 39.5884, 10.9102)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAF41 #4641AF
analogous
#AF7D41 #AAAF41 #73AF41
triadic
#AAAF41 #41AAAF #AF41AA
tetradic
#AAAF41 #41AF7D #4641AF #AF4173
square
#AAAF41 #41AF7D #4641AF #AF4173
split-complementary
#AAAF41 #4173AF #7D41AF
monochromatic
#535620 #7F8230 #AAAF41 #C2C667 #D4D793

Accessibility & contrast

On white

2.35
#AAAF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AAAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAF41
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAF41#FFFFFF#000000##000000
##AAAF411.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA733
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#B5A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aaaf41;
/* rgb */ color: rgb(170, 175, 65);
/* oklch */ color: oklch(72.9% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#c6c67b',
    500: '#aaaf41',
    950: '#000000',
  },
}
SCSS
$custom: #aaaf41;
$custom-light: #c6c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaf41",
  "rgb": {
    "r": 170,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 62.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72868,
    "c": 0.1322,
    "h": 111.7
  },
  "luminance": 0.39588
}

Semantic roles & 50–950 ramp

primary
#AAAF41
secondary
#8C89C2
accent
#52D558
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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