#AAB54F#AAB54F

#AAB54F is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.127 H 114.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#AAB54F
RGBrgb(170, 181, 79)
HSLhsl(66, 41%, 51%)
HSVhsv(66, 56%, 71%)
CMYKcmyk(6.1%, 0%, 56.4%, 29%)
CIE-LABlab(70.98, -18.20, 49.71)
CIE-LCHlch(70.98, 52.94, 110.11°)
OKLaboklab(74.35% -0.0531 0.1156)
OKLCHoklch(74.35% 0.127 114.7)
XYZxyz(34.5134, 42.1588, 13.7150)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB54F #5A4FB5
analogous
#B58D4F #AAB54F #77B54F
triadic
#AAB54F #4FAAB5 #B54FAA
tetradic
#AAB54F #4FB58D #5A4FB5 #B54F77
square
#AAB54F #4FB58D #5A4FB5 #B54F77
split-complementary
#AAB54F #4F77B5 #8D4FB5
monochromatic
#5B6129 #838C3B #AAB54F #BFC77A #D4D9A5

Accessibility & contrast

On white

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

On black

9.43
#AAB54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB54F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB54F#FFFFFF#000000##000000
##AAB54F1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD44
Deuteranopia (green-blind)
#C0AF55
Tritanopia (blue-blind)
#B4AC9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aab54f;
/* rgb */ color: rgb(170, 181, 79);
/* oklch */ color: oklch(74.4% 0.127 114.7);
Tailwind
colors: {
  custom: {
    50: '#c5cb84',
    500: '#aab54f',
    950: '#000000',
  },
}
SCSS
$custom: #aab54f;
$custom-light: #c5cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#aab54f",
  "rgb": {
    "r": 170,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 66.471,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74353,
    "c": 0.12719,
    "h": 114.7
  },
  "luminance": 0.42158
}

Semantic roles & 50–950 ramp

primary
#AAB54F
secondary
#9E99C6
accent
#57D164
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AAB54F

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

Preview Lab → · Contrast checker → · Palette generator →

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