#AAB151#AAB151

#AAB151 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.121 H 112.8°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AAB151
RGBrgb(170, 177, 81)
HSLhsl(64, 38%, 51%)
HSVhsv(64, 54%, 69%)
CMYKcmyk(4%, 0%, 54.2%, 30.6%)
CIE-LABlab(69.88, -16.00, 47.52)
CIE-LCHlch(69.88, 50.15, 108.61°)
OKLaboklab(73.48% -0.0467 0.1111)
OKLCHoklch(73.48% 0.121 112.8)
XYZxyz(33.7856, 40.5850, 13.8369)
Luminance0.4058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB151 #5851B1
analogous
#B18851 #AAB151 #7AB151
triadic
#AAB151 #51AAB1 #B151AA
tetradic
#AAB151 #51B188 #5851B1 #B1517A
square
#AAB151 #51B188 #5851B1 #B1517A
split-complementary
#AAB151 #517AB1 #8851B1
monochromatic
#5A5E2A #82883D #AAB151 #BFC47B #D3D7A6

Accessibility & contrast

On white

2.30
#AAB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#AAB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB151
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB151#FFFFFF#000000##000000
##AAB1511.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA47
Deuteranopia (green-blind)
#BDAC56
Tritanopia (blue-blind)
#B4A89C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aab151;
/* rgb */ color: rgb(170, 177, 81);
/* oklch */ color: oklch(73.5% 0.121 112.8);
Tailwind
colors: {
  custom: {
    50: '#c5c885',
    500: '#aab151',
    950: '#000000',
  },
}
SCSS
$custom: #aab151;
$custom-light: #c5c885;
$custom-dark: #000000;
JSON
{
  "hex": "#aab151",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 64.375,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73483,
    "c": 0.12051,
    "h": 112.8
  },
  "luminance": 0.40584
}

Semantic roles & 50–950 ramp

primary
#AAB151
secondary
#9D9AC4
accent
#5ACE62
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAB151

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

Preview Lab → · Contrast checker → · Palette generator →

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