#AAB451#AAB451

#AAB451 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.124 H 114.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#AAB451
RGBrgb(170, 180, 81)
HSLhsl(66, 40%, 51%)
HSVhsv(66, 55%, 71%)
CMYKcmyk(5.6%, 0%, 55%, 29.4%)
CIE-LABlab(70.72, -17.53, 48.49)
CIE-LCHlch(70.72, 51.56, 109.88°)
OKLaboklab(74.15% -0.051 0.1132)
OKLCHoklch(74.15% 0.124 114.3)
XYZxyz(34.3847, 41.7832, 14.0366)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB451 #5B51B4
analogous
#B48C51 #AAB451 #78B451
triadic
#AAB451 #51AAB4 #B451AA
tetradic
#AAB451 #51B48C #5B51B4 #B45178
square
#AAB451 #51B48C #5B51B4 #B45178
split-complementary
#AAB451 #5178B4 #8C51B4
monochromatic
#5B612A #848C3C #AAB451 #BFC67C #D4D9A7

Accessibility & contrast

On white

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

On black

9.36
#AAB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB451
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB451#FFFFFF#000000##000000
##AAB4511.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#BFAE57
Tritanopia (blue-blind)
#B4AB9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aab451;
/* rgb */ color: rgb(170, 180, 81);
/* oklch */ color: oklch(74.2% 0.124 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5ca85',
    500: '#aab451',
    950: '#000000',
  },
}
SCSS
$custom: #aab451;
$custom-light: #c5ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#aab451",
  "rgb": {
    "r": 170,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 66.061,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74152,
    "c": 0.12414,
    "h": 114.3
  },
  "luminance": 0.41783
}

Semantic roles & 50–950 ramp

primary
#AAB451
secondary
#9F9BC6
accent
#58D064
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAB451

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

Preview Lab → · Contrast checker → · Palette generator →

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