#AAAA28#AAAA28

#AAAA28 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.6% C 0.144 H 109.5°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AAAA28
RGBrgb(170, 170, 40)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 76%, 67%)
CMYKcmyk(0%, 0%, 76.5%, 33.3%)
CIE-LABlab(67.61, -14.99, 61.87)
CIE-LCHlch(67.61, 63.66, 103.62°)
OKLaboklab(71.57% -0.048 0.1353)
OKLCHoklch(71.57% 0.144 109.5)
XYZxyz(31.3365, 37.4497, 7.5849)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAA28 #2828AA
analogous
#AA6928 #AAAA28 #69AA28
triadic
#AAAA28 #28AAAA #AA28AA
tetradic
#AAAA28 #28AA69 #2828AA #AA2869
square
#AAAA28 #28AA69 #2828AA #AA2869
split-complementary
#AAAA28 #2869AA #6928AA
monochromatic
#474711 #78781C #AAAA28 #D2D23E #DDDD6F

Accessibility & contrast

On white

2.47
#AAAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#AAAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAA28
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAA28#FFFFFF#000000##000000
##AAAA281.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaaa28;
/* rgb */ color: rgb(170, 170, 40);
/* oklch */ color: oklch(71.6% 0.144 109.5);
Tailwind
colors: {
  custom: {
    50: '#c7c36d',
    500: '#aaaa28',
    950: '#000000',
  },
}
SCSS
$custom: #aaaa28;
$custom-light: #c7c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaa28",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71566,
    "c": 0.14353,
    "h": 109.5
  },
  "luminance": 0.37449
}

Semantic roles & 50–950 ramp

primary
#AAAA28
secondary
#6A6AC4
accent
#43E543
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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