#AAB526#AAB526

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

Color values

HEX#AAB526
RGBrgb(170, 181, 38)
HSLhsl(65, 65%, 43%)
HSVhsv(65, 79%, 71%)
CMYKcmyk(6.1%, 0%, 79%, 29%)
CIE-LABlab(70.69, -20.63, 65.25)
CIE-LCHlch(70.69, 68.44, 107.55°)
OKLaboklab(74.02% -0.0638 0.1421)
OKLCHoklch(74.02% 0.156 114.2)
XYZxyz(33.4523, 41.7344, 8.1267)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB526 #3126B5
analogous
#B57826 #AAB526 #63B526
triadic
#AAB526 #26AAB5 #B526AA
tetradic
#AAB526 #26B578 #3126B5 #B52663
square
#AAB526 #26B578 #3126B5 #B52663
split-complementary
#AAB526 #2663B5 #7826B5
monochromatic
#4B5011 #7A821B #AAB526 #CCD741 #D9E274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB526#FFFFFF#000000##000000
##AAB5261.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)
#C2AE34
Tritanopia (blue-blind)
#B6AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab526;
/* rgb */ color: rgb(170, 181, 38);
/* oklch */ color: oklch(74.0% 0.156 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb6e',
    500: '#aab526',
    950: '#000000',
  },
}
SCSS
$custom: #aab526;
$custom-light: #c7cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab526",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 64.615,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74025,
    "c": 0.15581,
    "h": 114.2
  },
  "luminance": 0.41734
}

Semantic roles & 50–950 ramp

primary
#AAB526
secondary
#756EC9
accent
#40E84D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB526

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

Preview Lab → · Contrast checker → · Palette generator →

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