#AAAB28#AAAB28

#AAAB28 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.8% C 0.145 H 110.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AAAB28
RGBrgb(170, 171, 40)
HSLhsl(60, 62%, 41%)
HSVhsv(60, 77%, 67%)
CMYKcmyk(0.6%, 0%, 76.6%, 32.9%)
CIE-LABlab(67.89, -15.50, 62.12)
CIE-LCHlch(67.89, 64.03, 104.01°)
OKLaboklab(71.79% -0.0494 0.1358)
OKLCHoklch(71.79% 0.145 110)
XYZxyz(31.5246, 37.8260, 7.6476)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAB28 #2928AB
analogous
#AB6B28 #AAAB28 #69AB28
triadic
#AAAB28 #28AAAB #AB28AA
tetradic
#AAAB28 #28AB6B #2928AB #AB2869
square
#AAAB28 #28AB6B #2928AB #AB2869
split-complementary
#AAAB28 #2869AB #6B28AB
monochromatic
#474811 #79791C #AAAB28 #D1D23E #DDDE70

Accessibility & contrast

On white

2.45
#AAAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#AAAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAB28
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAB28#FFFFFF#000000##000000
##AAAB281.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaab28;
/* rgb */ color: rgb(170, 171, 40);
/* oklch */ color: oklch(71.8% 0.145 110.0);
Tailwind
colors: {
  custom: {
    50: '#c7c36d',
    500: '#aaab28',
    950: '#000000',
  },
}
SCSS
$custom: #aaab28;
$custom-light: #c7c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaab28",
  "rgb": {
    "r": 170,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 60.458,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71789,
    "c": 0.14454,
    "h": 110
  },
  "luminance": 0.37825
}

Semantic roles & 50–950 ramp

primary
#AAAB28
secondary
#6B6AC4
accent
#43E544
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #AAAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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