#AABF40#AABF40

#AABF40 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.5% C 0.151 H 118.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#AABF40
RGBrgb(170, 191, 64)
HSLhsl(70, 50%, 50%)
HSVhsv(70, 66%, 75%)
CMYKcmyk(11%, 0%, 66.5%, 25.1%)
CIE-LABlab(73.66, -24.26, 59.08)
CIE-LCHlch(73.66, 63.86, 112.32°)
OKLaboklab(76.46% -0.0716 0.1335)
OKLCHoklch(76.46% 0.151 118.2)
XYZxyz(36.1345, 46.1781, 11.8592)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABF40 #5540BF
analogous
#BF9440 #AABF40 #6BBF40
triadic
#AABF40 #40AABF #BF40AA
tetradic
#AABF40 #40BF94 #5540BF #BF406B
square
#AABF40 #40BF94 #5540BF #BF406B
split-complementary
#AABF40 #406BBF #9440BF
monochromatic
#586321 #819131 #AABF40 #BECE6E #D3DE9C

Accessibility & contrast

On white

2.05
#AABF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#AABF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABF40
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABF40#FFFFFF#000000##000000
##AABF401.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#B4B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aabf40;
/* rgb */ color: rgb(170, 191, 64);
/* oklch */ color: oklch(76.5% 0.151 118.2);
Tailwind
colors: {
  custom: {
    50: '#c6d27c',
    500: '#aabf40',
    950: '#000000',
  },
}
SCSS
$custom: #aabf40;
$custom-light: #c6d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#aabf40",
  "rgb": {
    "r": 170,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 69.921,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.76461,
    "c": 0.15144,
    "h": 118.2
  },
  "luminance": 0.46178
}

Semantic roles & 50–950 ramp

primary
#AABF40
secondary
#9A91CA
accent
#4ED965
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #AABF40

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

Preview Lab → · Contrast checker → · Palette generator →

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