#AAB548#AAB548

#AAB548 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.133 H 114.5°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#AAB548
RGBrgb(170, 181, 72)
HSLhsl(66, 43%, 50%)
HSVhsv(66, 60%, 71%)
CMYKcmyk(6.1%, 0%, 60.2%, 29%)
CIE-LABlab(70.91, -18.75, 52.80)
CIE-LCHlch(70.91, 56.03, 109.55°)
OKLaboklab(74.28% -0.0554 0.1213)
OKLCHoklch(74.28% 0.133 114.5)
XYZxyz(34.2719, 42.0622, 12.4430)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB548 #5348B5
analogous
#B58A48 #AAB548 #74B548
triadic
#AAB548 #48AAB5 #B548AA
tetradic
#AAB548 #48B58A #5348B5 #B54874
square
#AAB548 #48B58A #5348B5 #B54874
split-complementary
#AAB548 #4874B5 #8A48B5
monochromatic
#585D25 #818937 #AAB548 #BFC773 #D3D99F

Accessibility & contrast

On white

2.23
#AAB548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#AAB548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB548
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB548#FFFFFF#000000##000000
##AAB5481.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3B
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#B4AB9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aab548;
/* rgb */ color: rgb(170, 181, 72);
/* oklch */ color: oklch(74.3% 0.133 114.5);
Tailwind
colors: {
  custom: {
    50: '#c6cb7f',
    500: '#aab548',
    950: '#000000',
  },
}
SCSS
$custom: #aab548;
$custom-light: #c6cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab548",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 66.055,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74278,
    "c": 0.13335,
    "h": 114.5
  },
  "luminance": 0.42062
}

Semantic roles & 50–950 ramp

primary
#AAB548
secondary
#9993C5
accent
#55D362
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB548

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

Preview Lab → · Contrast checker → · Palette generator →

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