#AABA52#AABA52

#AABA52 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.5% C 0.131 H 116.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#AABA52
RGBrgb(170, 186, 82)
HSLhsl(69, 43%, 53%)
HSVhsv(69, 56%, 73%)
CMYKcmyk(8.6%, 0%, 55.9%, 27.1%)
CIE-LABlab(72.41, -20.46, 49.95)
CIE-LCHlch(72.41, 53.98, 112.27°)
OKLaboklab(75.51% -0.0592 0.1164)
OKLCHoklch(75.51% 0.131 116.9)
XYZxyz(35.6600, 44.2734, 14.6481)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABA52 #6252BA
analogous
#BA9652 #AABA52 #76BA52
triadic
#AABA52 #52AABA #BA52AA
tetradic
#AABA52 #52BA96 #6252BA #BA5276
square
#AABA52 #52BA96 #6252BA #BA5276
split-complementary
#AABA52 #5276BA #9652BA
monochromatic
#5E682A #86943B #AABA52 #BFCB7E #D5DDAA

Accessibility & contrast

On white

2.13
#AABA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#AABA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABA52
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABA52#FFFFFF#000000##000000
##AABA521.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#C4B258
Tritanopia (blue-blind)
#B3B1A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aaba52;
/* rgb */ color: rgb(170, 186, 82);
/* oklch */ color: oklch(75.5% 0.131 116.9);
Tailwind
colors: {
  custom: {
    50: '#c5ce86',
    500: '#aaba52',
    950: '#000000',
  },
}
SCSS
$custom: #aaba52;
$custom-light: #c5ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#aaba52",
  "rgb": {
    "r": 170,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 69.231,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75508,
    "c": 0.13061,
    "h": 116.9
  },
  "luminance": 0.44273
}

Semantic roles & 50–950 ramp

primary
#AABA52
secondary
#A49DCA
accent
#55D368
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AABA52

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

Preview Lab → · Contrast checker → · Palette generator →

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