#AAB527#AAB527

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

Color values

HEX#AAB527
RGBrgb(170, 181, 39)
HSLhsl(65, 65%, 43%)
HSVhsv(65, 78%, 71%)
CMYKcmyk(6.1%, 0%, 78.5%, 29%)
CIE-LABlab(70.69, -20.59, 64.97)
CIE-LCHlch(70.69, 68.15, 107.59°)
OKLaboklab(74.03% -0.0636 0.1417)
OKLCHoklch(74.03% 0.155 114.2)
XYZxyz(33.4687, 41.7409, 8.2128)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB527 #3227B5
analogous
#B57927 #AAB527 #63B527
triadic
#AAB527 #27AAB5 #B527AA
tetradic
#AAB527 #27B579 #3227B5 #B52763
square
#AAB527 #27B579 #3227B5 #B52763
split-complementary
#AAB527 #2763B5 #7927B5
monochromatic
#4B5011 #7B831C #AAB527 #CBD643 #D9E175

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAB527#FFFFFF#000000##000000
##AAB5271.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: #aab527;
/* rgb */ color: rgb(170, 181, 39);
/* oklch */ color: oklch(74.0% 0.155 114.2);
Tailwind
colors: {
  custom: {
    50: '#c7cb6e',
    500: '#aab527',
    950: '#000000',
  },
}
SCSS
$custom: #aab527;
$custom-light: #c7cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab527",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 39
  },
  "hsl": {
    "h": 64.648,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7403,
    "c": 0.15533,
    "h": 114.2
  },
  "luminance": 0.4174
}

Semantic roles & 50–950 ramp

primary
#AAB527
secondary
#766FC9
accent
#40E84D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB527

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

Preview Lab → · Contrast checker → · Palette generator →

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