#ABCA2A#ABCA2A

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

Color values

HEX#ABCA2A
RGBrgb(171, 202, 42)
HSLhsl(72, 66%, 48%)
HSVhsv(72, 79%, 79%)
CMYKcmyk(15.3%, 0%, 79.2%, 20.8%)
CIE-LABlab(76.72, -30.23, 69.54)
CIE-LCHlch(76.72, 75.83, 113.50°)
OKLaboklab(78.9% -0.09 0.1519)
OKLCHoklch(78.9% 0.177 120.6)
XYZxyz(38.3338, 51.0662, 10.0273)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCA2A #492ACA
analogous
#CA992A #ABCA2A #5BCA2A
triadic
#ABCA2A #2AABCA #CA2AAB
tetradic
#ABCA2A #2ACA99 #492ACA #CA2A5B
square
#ABCA2A #2ACA99 #492ACA #CA2A5B
split-complementary
#ABCA2A #2A5BCA #992ACA
monochromatic
#556515 #80971F #ABCA2A #C2DC55 #D4E688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABCA2A#FFFFFF#000000##000000
##ABCA2A1.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)
#D3BE3A
Tritanopia (blue-blind)
#B5BFAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abca2a;
/* rgb */ color: rgb(171, 202, 42);
/* oklch */ color: oklch(78.9% 0.177 120.6);
Tailwind
colors: {
  custom: {
    50: '#c8da72',
    500: '#abca2a',
    950: '#000000',
  },
}
SCSS
$custom: #abca2a;
$custom-light: #c8da72;
$custom-dark: #000000;
JSON
{
  "hex": "#abca2a",
  "rgb": {
    "r": 171,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 71.625,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78901,
    "c": 0.17657,
    "h": 120.6
  },
  "luminance": 0.51066
}

Semantic roles & 50–950 ramp

primary
#ABCA2A
secondary
#37296F
accent
#3FE960
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ABCA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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