#AABB40#AABB40

#AABB40 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.6% C 0.147 H 116.8°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#AABB40
RGBrgb(170, 187, 64)
HSLhsl(68, 49%, 49%)
HSVhsv(68, 66%, 73%)
CMYKcmyk(9.1%, 0%, 65.8%, 26.7%)
CIE-LABlab(72.53, -22.29, 57.91)
CIE-LCHlch(72.53, 62.05, 111.06°)
OKLaboklab(75.56% -0.0661 0.131)
OKLCHoklch(75.56% 0.147 116.8)
XYZxyz(35.2741, 44.4573, 11.5724)
Luminance0.4446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB40 #5140BB
analogous
#BB8F40 #AABB40 #6DBB40
triadic
#AABB40 #40AABB #BB40AA
tetradic
#AABB40 #40BB8F #5140BB #BB406D
square
#AABB40 #40BB8F #5140BB #BB406D
split-complementary
#AABB40 #406DBB #8F40BB
monochromatic
#576021 #818D30 #AABB40 #BFCD6C #D3DC99

Accessibility & contrast

On white

2.12
#AABB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#AABB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB40
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB40#FFFFFF#000000##000000
##AABB401.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#B4B1A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabb40;
/* rgb */ color: rgb(170, 187, 64);
/* oklch */ color: oklch(75.6% 0.147 116.8);
Tailwind
colors: {
  custom: {
    50: '#c6cf7b',
    500: '#aabb40',
    950: '#000000',
  },
}
SCSS
$custom: #aabb40;
$custom-light: #c6cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb40",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 68.293,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75555,
    "c": 0.14673,
    "h": 116.8
  },
  "luminance": 0.44457
}

Semantic roles & 50–950 ramp

primary
#AABB40
secondary
#978FC8
accent
#4FD962
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AABB40

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

Preview Lab → · Contrast checker → · Palette generator →

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