#AAB52A#AAB52A

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

Color values

HEX#AAB52A
RGBrgb(170, 181, 42)
HSLhsl(65, 62%, 44%)
HSVhsv(65, 77%, 71%)
CMYKcmyk(6.1%, 0%, 76.8%, 29%)
CIE-LABlab(70.71, -20.47, 64.07)
CIE-LCHlch(70.71, 67.26, 107.72°)
OKLaboklab(74.05% -0.0631 0.1403)
OKLCHoklch(74.05% 0.154 114.2)
XYZxyz(33.5204, 41.7616, 8.4850)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB52A #352AB5
analogous
#B57A2A #AAB52A #64B52A
triadic
#AAB52A #2AAAB5 #B52AAA
tetradic
#AAB52A #2AB57A #352AB5 #B52A64
square
#AAB52A #2AB57A #352AB5 #B52A64
split-complementary
#AAB52A #2A64B5 #7A2AB5
monochromatic
#4D5213 #7B831E #AAB52A #C9D448 #D8E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB52A#FFFFFF#000000##000000
##AAB52A1.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)
#C3AC02
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B6AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab52a;
/* rgb */ color: rgb(170, 181, 42);
/* oklch */ color: oklch(74.0% 0.154 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb6f',
    500: '#aab52a',
    950: '#000000',
  },
}
SCSS
$custom: #aab52a;
$custom-light: #c7cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab52a",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 64.748,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.15384,
    "h": 114.2
  },
  "luminance": 0.41761
}

Semantic roles & 50–950 ramp

primary
#AAB52A
secondary
#7A73C8
accent
#42E54F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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