#AAB948#AAB948

#AAB948 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.138 H 116.2°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#AAB948
RGBrgb(170, 185, 72)
HSLhsl(68, 45%, 50%)
HSVhsv(68, 61%, 73%)
CMYKcmyk(8.1%, 0%, 61.1%, 27.5%)
CIE-LABlab(72.04, -20.75, 54.02)
CIE-LCHlch(72.04, 57.87, 111.01°)
OKLaboklab(75.18% -0.061 0.1239)
OKLCHoklch(75.18% 0.138 116.2)
XYZxyz(35.0969, 43.7123, 12.7181)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB948 #5748B9
analogous
#B99048 #AAB948 #71B948
triadic
#AAB948 #48AAB9 #B948AA
tetradic
#AAB948 #48B990 #5748B9 #B94871
square
#AAB948 #48B990 #5748B9 #B94871
split-complementary
#AAB948 #4871B9 #9048B9
monochromatic
#596125 #828E36 #AAB948 #BFCA74 #D3DBA1

Accessibility & contrast

On white

2.16
#AAB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#AAB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB948
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB948#FFFFFF#000000##000000
##AAB9481.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#C4B14F
Tritanopia (blue-blind)
#B4AFA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aab948;
/* rgb */ color: rgb(170, 185, 72);
/* oklch */ color: oklch(75.2% 0.138 116.2);
Tailwind
colors: {
  custom: {
    50: '#c6ce80',
    500: '#aab948',
    950: '#000000',
  },
}
SCSS
$custom: #aab948;
$custom-light: #c6ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#aab948",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 67.965,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75177,
    "c": 0.13811,
    "h": 116.2
  },
  "luminance": 0.43712
}

Semantic roles & 50–950 ramp

primary
#AAB948
secondary
#9C95C8
accent
#53D465
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB948

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

Preview Lab → · Contrast checker → · Palette generator →

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