#AAB528#AAB528

#AAB528 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.0% C 0.155 H 114.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#AAB528
RGBrgb(170, 181, 40)
HSLhsl(65, 64%, 43%)
HSVhsv(65, 78%, 71%)
CMYKcmyk(6.1%, 0%, 77.9%, 29%)
CIE-LABlab(70.70, -20.56, 64.67)
CIE-LCHlch(70.70, 67.86, 107.63°)
OKLaboklab(74.04% -0.0635 0.1412)
OKLCHoklch(74.04% 0.155 114.2)
XYZxyz(33.4855, 41.7477, 8.3012)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB528 #3328B5
analogous
#B57928 #AAB528 #63B528
triadic
#AAB528 #28AAB5 #B528AA
tetradic
#AAB528 #28B579 #3328B5 #B52863
square
#AAB528 #28B579 #3328B5 #B52863
split-complementary
#AAB528 #2863B5 #7928B5
monochromatic
#4C5112 #7B831D #AAB528 #CAD644 #D9E177

Accessibility & contrast

On white

2.25
#AAB528 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#AAB528 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB528
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB528#FFFFFF#000000##000000
##AAB5281.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#B6AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab528;
/* rgb */ color: rgb(170, 181, 40);
/* oklch */ color: oklch(74.0% 0.155 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb6e',
    500: '#aab528',
    950: '#000000',
  },
}
SCSS
$custom: #aab528;
$custom-light: #c7cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab528",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 40
  },
  "hsl": {
    "h": 64.681,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74035,
    "c": 0.15484,
    "h": 114.2
  },
  "luminance": 0.41747
}

Semantic roles & 50–950 ramp

primary
#AAB528
secondary
#7770C8
accent
#41E74E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB528

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

Preview Lab → · Contrast checker → · Palette generator →

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