#AAB540#AAB540

#AAB540 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.2% C 0.140 H 114.4°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#AAB540
RGBrgb(170, 181, 64)
HSLhsl(66, 48%, 48%)
HSVhsv(66, 65%, 71%)
CMYKcmyk(6.1%, 0%, 64.6%, 29%)
CIE-LABlab(70.85, -19.31, 56.15)
CIE-LCHlch(70.85, 59.37, 108.98°)
OKLaboklab(74.2% -0.0578 0.1273)
OKLCHoklch(74.2% 0.14 114.4)
XYZxyz(34.0277, 41.9646, 11.1569)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB540 #4B40B5
analogous
#B58540 #AAB540 #6FB540
triadic
#AAB540 #40AAB5 #B540AA
tetradic
#AAB540 #40B585 #4B40B5 #B5406F
square
#AAB540 #40B585 #4B40B5 #B5406F
split-complementary
#AAB540 #406FB5 #8540B5
monochromatic
#555B20 #808830 #AAB540 #C1CA68 #D3DA96

Accessibility & contrast

On white

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

On black

9.39
#AAB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB540
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB540#FFFFFF#000000##000000
##AAB5401.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC31
Deuteranopia (green-blind)
#C1AE48
Tritanopia (blue-blind)
#B5AB9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab540;
/* rgb */ color: rgb(170, 181, 64);
/* oklch */ color: oklch(74.2% 0.140 114.4);
Tailwind
colors: {
  custom: {
    50: '#c6cb7b',
    500: '#aab540',
    950: '#000000',
  },
}
SCSS
$custom: #aab540;
$custom-light: #c6cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aab540",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 65.641,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74203,
    "c": 0.13977,
    "h": 114.4
  },
  "luminance": 0.41964
}

Semantic roles & 50–950 ramp

primary
#AAB540
secondary
#918BC5
accent
#50D75D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB540

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

Preview Lab → · Contrast checker → · Palette generator →

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