#ABCA31#ABCA31

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

Color values

HEX#ABCA31
RGBrgb(171, 202, 49)
HSLhsl(72, 61%, 49%)
HSVhsv(72, 76%, 79%)
CMYKcmyk(15.3%, 0%, 75.7%, 20.8%)
CIE-LABlab(76.75, -29.94, 67.49)
CIE-LCHlch(76.75, 73.83, 113.92°)
OKLaboklab(78.94% -0.0887 0.1487)
OKLCHoklch(78.94% 0.173 120.8)
XYZxyz(38.4702, 51.1208, 10.7458)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCA31 #5031CA
analogous
#CA9D31 #ABCA31 #5FCA31
triadic
#ABCA31 #31ABCA #CA31AB
tetradic
#ABCA31 #31CA9D #5031CA #CA315F
square
#ABCA31 #31CA9D #5031CA #CA315F
split-complementary
#ABCA31 #315FCA #9D31CA
monochromatic
#586719 #819925 #ABCA31 #C0D860 #D3E491

Accessibility & contrast

On white

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

On black

11.22
#ABCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCA31
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCA31#FFFFFF#000000##000000
##ABCA311.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abca31;
/* rgb */ color: rgb(171, 202, 49);
/* oklch */ color: oklch(78.9% 0.173 120.8);
Tailwind
colors: {
  custom: {
    50: '#c8da75',
    500: '#abca31',
    950: '#000000',
  },
}
SCSS
$custom: #abca31;
$custom-light: #c8da75;
$custom-dark: #000000;
JSON
{
  "hex": "#abca31",
  "rgb": {
    "r": 171,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 72.157,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78938,
    "c": 0.17315,
    "h": 120.8
  },
  "luminance": 0.51121
}

Semantic roles & 50–950 ramp

primary
#ABCA31
secondary
#3B2E72
accent
#44E464
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ABCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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