#AAB531#AAB531

#AAB531 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.150 H 114.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#AAB531
RGBrgb(170, 181, 49)
HSLhsl(65, 57%, 45%)
HSVhsv(65, 73%, 71%)
CMYKcmyk(6.1%, 0%, 72.9%, 29%)
CIE-LABlab(70.74, -20.16, 61.79)
CIE-LCHlch(70.74, 64.99, 108.07°)
OKLaboklab(74.09% -0.0616 0.1367)
OKLCHoklch(74.09% 0.15 114.3)
XYZxyz(33.6568, 41.8162, 9.2035)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB531 #3C31B5
analogous
#B57E31 #AAB531 #68B531
triadic
#AAB531 #31AAB5 #B531AA
tetradic
#AAB531 #31B57E #3C31B5 #B53168
square
#AAB531 #31B57E #3C31B5 #B53168
split-complementary
#AAB531 #3168B5 #7E31B5
monochromatic
#505517 #7D8524 #AAB531 #C6D053 #D6DD83

Accessibility & contrast

On white

2.24
#AAB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#AAB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB531
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB531#FFFFFF#000000##000000
##AAB5311.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#B5AA9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab531;
/* rgb */ color: rgb(170, 181, 49);
/* oklch */ color: oklch(74.1% 0.150 114.3);
Tailwind
colors: {
  custom: {
    50: '#c7cb73',
    500: '#aab531',
    950: '#000000',
  },
}
SCSS
$custom: #aab531;
$custom-light: #c7cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#aab531",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 65,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74088,
    "c": 0.14996,
    "h": 114.3
  },
  "luminance": 0.41816
}

Semantic roles & 50–950 ramp

primary
#AAB531
secondary
#817BC7
accent
#47E154
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB531

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

Preview Lab → · Contrast checker → · Palette generator →

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