#ABCA2B#ABCA2B

#ABCA2B is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.9% C 0.176 H 120.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#ABCA2B
RGBrgb(171, 202, 43)
HSLhsl(72, 65%, 48%)
HSVhsv(72, 79%, 79%)
CMYKcmyk(15.3%, 0%, 78.7%, 20.8%)
CIE-LABlab(76.72, -30.19, 69.26)
CIE-LCHlch(76.72, 75.56, 113.55°)
OKLaboklab(78.91% -0.0898 0.1515)
OKLCHoklch(78.91% 0.176 120.7)
XYZxyz(38.3519, 51.0735, 10.1228)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCA2B #4A2BCA
analogous
#CA992B #ABCA2B #5BCA2B
triadic
#ABCA2B #2BABCA #CA2BAB
tetradic
#ABCA2B #2BCA99 #4A2BCA #CA2B5B
square
#ABCA2B #2BCA99 #4A2BCA #CA2B5B
split-complementary
#ABCA2B #2B5BCA #992BCA
monochromatic
#566516 #809820 #ABCA2B #C1DB57 #D4E689

Accessibility & contrast

On white

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

On black

11.21
#ABCA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCA2B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCA2B#FFFFFF#000000##000000
##ABCA2B1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abca2b;
/* rgb */ color: rgb(171, 202, 43);
/* oklch */ color: oklch(78.9% 0.176 120.7);
Tailwind
colors: {
  custom: {
    50: '#c8da72',
    500: '#abca2b',
    950: '#000000',
  },
}
SCSS
$custom: #abca2b;
$custom-light: #c8da72;
$custom-dark: #000000;
JSON
{
  "hex": "#abca2b",
  "rgb": {
    "r": 171,
    "g": 202,
    "b": 43
  },
  "hsl": {
    "h": 71.698,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78906,
    "c": 0.17611,
    "h": 120.7
  },
  "luminance": 0.51073
}

Semantic roles & 50–950 ramp

primary
#ABCA2B
secondary
#372A6F
accent
#40E861
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ABCA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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