#ABCA21#ABCA21

#ABCA21 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.9% C 0.180 H 120.5°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#ABCA21
RGBrgb(171, 202, 33)
HSLhsl(71, 72%, 46%)
HSVhsv(71, 84%, 79%)
CMYKcmyk(15.3%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.68, -30.55, 71.81)
CIE-LCHlch(76.68, 78.04, 113.04°)
OKLaboklab(78.86% -0.0914 0.1553)
OKLCHoklch(78.86% 0.18 120.5)
XYZxyz(38.1904, 51.0089, 9.2723)
Luminance0.5101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCA21 #4021CA
analogous
#CA9421 #ABCA21 #56CA21
triadic
#ABCA21 #21ABCA #CA21AB
tetradic
#ABCA21 #21CA94 #4021CA #CA2156
square
#ABCA21 #21CA94 #4021CA #CA2156
split-complementary
#ABCA21 #2156CA #9421CA
monochromatic
#526110 #7E9518 #ABCA21 #C5E147 #D5EA7C

Accessibility & contrast

On white

1.87
#ABCA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#ABCA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCA21
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCA21#FFFFFF#000000##000000
##ABCA211.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D3BE35
Tritanopia (blue-blind)
#B5BFAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abca21;
/* rgb */ color: rgb(171, 202, 33);
/* oklch */ color: oklch(78.9% 0.180 120.5);
Tailwind
colors: {
  custom: {
    50: '#c8da6f',
    500: '#abca21',
    950: '#000000',
  },
}
SCSS
$custom: #abca21;
$custom-light: #c8da6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abca21",
  "rgb": {
    "r": 171,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 71.006,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78862,
    "c": 0.18022,
    "h": 120.5
  },
  "luminance": 0.51009
}

Semantic roles & 50–950 ramp

primary
#ABCA21
secondary
#31246C
accent
#39EF5A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #ABCA21

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

Preview Lab → · Contrast checker → · Palette generator →

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