#AAB941#AAB941

#AAB941 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.1% C 0.144 H 116.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AAB941
RGBrgb(170, 185, 65)
HSLhsl(68, 48%, 49%)
HSVhsv(68, 65%, 73%)
CMYKcmyk(8.1%, 0%, 64.9%, 27.5%)
CIE-LABlab(71.98, -21.24, 56.92)
CIE-LCHlch(71.98, 60.75, 110.46°)
OKLaboklab(75.11% -0.0631 0.1291)
OKLCHoklch(75.11% 0.144 116)
XYZxyz(34.8814, 43.6261, 11.5831)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB941 #5041B9
analogous
#B98C41 #AAB941 #6EB941
triadic
#AAB941 #41AAB9 #B941AA
tetradic
#AAB941 #41B98C #5041B9 #B9416E
square
#AAB941 #41B98C #5041B9 #B9416E
split-complementary
#AAB941 #416EB9 #8C41B9
monochromatic
#575E21 #808C31 #AAB941 #BFCB6C #D3DB99

Accessibility & contrast

On white

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

On black

9.73
#AAB941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB941
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB941#FFFFFF#000000##000000
##AAB9411.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B031
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#B4AFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab941;
/* rgb */ color: rgb(170, 185, 65);
/* oklch */ color: oklch(75.1% 0.144 116.0);
Tailwind
colors: {
  custom: {
    50: '#c6cd7c',
    500: '#aab941',
    950: '#000000',
  },
}
SCSS
$custom: #aab941;
$custom-light: #c6cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aab941",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 67.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75112,
    "c": 0.14365,
    "h": 116
  },
  "luminance": 0.43626
}

Semantic roles & 50–950 ramp

primary
#AAB941
secondary
#968FC7
accent
#50D861
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB941

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

Preview Lab → · Contrast checker → · Palette generator →

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