#AABC40#AABC40

#AABC40 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.8% C 0.148 H 117.1°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#AABC40
RGBrgb(170, 188, 64)
HSLhsl(69, 49%, 49%)
HSVhsv(69, 66%, 74%)
CMYKcmyk(9.6%, 0%, 66%, 26.3%)
CIE-LABlab(72.81, -22.79, 58.20)
CIE-LCHlch(72.81, 62.50, 111.38°)
OKLaboklab(75.78% -0.0675 0.1316)
OKLCHoklch(75.78% 0.148 117.1)
XYZxyz(35.4869, 44.8831, 11.6433)
Luminance0.4488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABC40 #5240BC
analogous
#BC9040 #AABC40 #6CBC40
triadic
#AABC40 #40AABC #BC40AA
tetradic
#AABC40 #40BC90 #5240BC #BC406C
square
#AABC40 #40BC90 #5240BC #BC406C
split-complementary
#AABC40 #406CBC #9040BC
monochromatic
#576121 #818E30 #AABC40 #BFCD6C #D3DD9A

Accessibility & contrast

On white

2.10
#AABC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#AABC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABC40
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABC40#FFFFFF#000000##000000
##AABC401.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C7B349
Tritanopia (blue-blind)
#B4B2A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #aabc40;
/* rgb */ color: rgb(170, 188, 64);
/* oklch */ color: oklch(75.8% 0.148 117.1);
Tailwind
colors: {
  custom: {
    50: '#c6d07b',
    500: '#aabc40',
    950: '#000000',
  },
}
SCSS
$custom: #aabc40;
$custom-light: #c6d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#aabc40",
  "rgb": {
    "r": 170,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 68.71,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75782,
    "c": 0.14791,
    "h": 117.1
  },
  "luminance": 0.44883
}

Semantic roles & 50–950 ramp

primary
#AABC40
secondary
#988FC9
accent
#4FD963
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AABC40

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

Preview Lab → · Contrast checker → · Palette generator →

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