#ABAE21#ABAE21

#ABAE21 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.5% C 0.151 H 110.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#ABAE21
RGBrgb(171, 174, 33)
HSLhsl(61, 68%, 41%)
HSVhsv(61, 81%, 68%)
CMYKcmyk(1.7%, 0%, 81%, 31.8%)
CIE-LABlab(68.78, -16.85, 65.01)
CIE-LCHlch(68.78, 67.16, 104.53°)
OKLaboklab(72.51% -0.0538 0.1407)
OKLCHoklch(72.51% 0.151 110.9)
XYZxyz(32.2063, 39.0407, 7.2776)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE21 #2421AE
analogous
#AE6B21 #ABAE21 #64AE21
triadic
#ABAE21 #21ABAE #AE21AB
tetradic
#ABAE21 #21AE6B #2421AE #AE2164
square
#ABAE21 #21AE6B #2421AE #AE2164
split-complementary
#ABAE21 #2164AE #6B21AE
monochromatic
#46470D #787B17 #ABAE21 #D5D834 #E0E267

Accessibility & contrast

On white

2.38
#ABAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#ABAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAE21
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAE21#FFFFFF#000000##000000
##ABAE211.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BDAA2F
Tritanopia (blue-blind)
#B7A395
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #abae21;
/* rgb */ color: rgb(171, 174, 33);
/* oklch */ color: oklch(72.5% 0.151 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c56b',
    500: '#abae21',
    950: '#000000',
  },
}
SCSS
$custom: #abae21;
$custom-light: #c8c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#abae21",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 61.277,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.7251,
    "c": 0.1506,
    "h": 110.9
  },
  "luminance": 0.3904
}

Semantic roles & 50–950 ramp

primary
#ABAE21
secondary
#6563C8
accent
#3DEB41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ABAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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