#AAB928#AAB928

#AAB928 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.159 H 115.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#AAB928
RGBrgb(170, 185, 40)
HSLhsl(66, 64%, 44%)
HSVhsv(66, 78%, 73%)
CMYKcmyk(8.1%, 0%, 78.4%, 27.5%)
CIE-LABlab(71.82, -22.54, 65.69)
CIE-LCHlch(71.82, 69.45, 108.94°)
OKLaboklab(74.94% -0.0689 0.1434)
OKLCHoklch(74.94% 0.159 115.7)
XYZxyz(34.3105, 43.3977, 8.5762)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB928 #3728B9
analogous
#B98028 #AAB928 #62B928
triadic
#AAB928 #28AAB9 #B928AA
tetradic
#AAB928 #28B980 #3728B9 #B92862
square
#AAB928 #28B980 #3728B9 #B92862
split-complementary
#AAB928 #2862B9 #8028B9
monochromatic
#4E5412 #7C871D #AAB928 #C8D747 #D7E279

Accessibility & contrast

On white

2.17
#AAB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#AAB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB928
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB928#FFFFFF#000000##000000
##AAB9281.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#B5AE9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #aab928;
/* rgb */ color: rgb(170, 185, 40);
/* oklch */ color: oklch(74.9% 0.159 115.7);
Tailwind
colors: {
  custom: {
    50: '#c7cd6f',
    500: '#aab928',
    950: '#000000',
  },
}
SCSS
$custom: #aab928;
$custom-light: #c7cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aab928",
  "rgb": {
    "r": 170,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 66.207,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7494,
    "c": 0.15912,
    "h": 115.7
  },
  "luminance": 0.43397
}

Semantic roles & 50–950 ramp

primary
#AAB928
secondary
#7C73CA
accent
#40E752
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB928

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

Preview Lab → · Contrast checker → · Palette generator →

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