#AAB128#AAB128

#AAB128 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.151 H 112.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#AAB128
RGBrgb(170, 177, 40)
HSLhsl(63, 63%, 43%)
HSVhsv(63, 77%, 69%)
CMYKcmyk(4%, 0%, 77.4%, 30.6%)
CIE-LABlab(69.57, -18.55, 63.65)
CIE-LCHlch(69.57, 66.30, 106.25°)
OKLaboklab(73.13% -0.0579 0.1391)
OKLCHoklch(73.13% 0.151 112.6)
XYZxyz(32.6838, 40.1443, 8.0340)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB128 #2F28B1
analogous
#B17428 #AAB128 #65B128
triadic
#AAB128 #28AAB1 #B128AA
tetradic
#AAB128 #28B174 #2F28B1 #B12865
square
#AAB128 #28B174 #2F28B1 #B12865
split-complementary
#AAB128 #2865B1 #7428B1
monochromatic
#4A4D11 #7A7F1D #AAB128 #CDD442 #DAE074

Accessibility & contrast

On white

2.33
#AAB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#AAB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB128
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB128#FFFFFF#000000##000000
##AAB1281.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#B6A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab128;
/* rgb */ color: rgb(170, 177, 40);
/* oklch */ color: oklch(73.1% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c86e',
    500: '#aab128',
    950: '#000000',
  },
}
SCSS
$custom: #aab128;
$custom-light: #c7c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#aab128",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 63.066,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73134,
    "c": 0.15065,
    "h": 112.6
  },
  "luminance": 0.40144
}

Semantic roles & 50–950 ramp

primary
#AAB128
secondary
#726EC7
accent
#42E64A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AAB128

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

Preview Lab → · Contrast checker → · Palette generator →

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