#AAB040#AAB040

#AAB040 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.1% C 0.134 H 112.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AAB040
RGBrgb(170, 176, 64)
HSLhsl(63, 47%, 47%)
HSVhsv(63, 64%, 69%)
CMYKcmyk(3.4%, 0%, 63.6%, 31%)
CIE-LABlab(69.45, -16.78, 54.67)
CIE-LCHlch(69.45, 57.19, 107.06°)
OKLaboklab(73.08% -0.0507 0.1242)
OKLCHoklch(73.08% 0.134 112.2)
XYZxyz(33.0292, 39.9676, 10.8241)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB040 #4640B0
analogous
#B07E40 #AAB040 #72B040
triadic
#AAB040 #40AAB0 #B040AA
tetradic
#AAB040 #40B07E #4640B0 #B04072
square
#AAB040 #40B07E #4640B0 #B04072
split-complementary
#AAB040 #4072B0 #7E40B0
monochromatic
#53561F #7F8330 #AAB040 #C2C766 #D4D893

Accessibility & contrast

On white

2.34
#AAB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#AAB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB040
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB040#FFFFFF#000000##000000
##AAB0401.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#B5A699
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab040;
/* rgb */ color: rgb(170, 176, 64);
/* oklch */ color: oklch(73.1% 0.134 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c77a',
    500: '#aab040',
    950: '#000000',
  },
}
SCSS
$custom: #aab040;
$custom-light: #c6c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#aab040",
  "rgb": {
    "r": 170,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 63.214,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73082,
    "c": 0.13411,
    "h": 112.2
  },
  "luminance": 0.39967
}

Semantic roles & 50–950 ramp

primary
#AAB040
secondary
#8C89C3
accent
#51D659
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AAB040

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

Preview Lab → · Contrast checker → · Palette generator →

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