#2ABA31#2ABA31

#2ABA31 is a light, highly saturated green. Relative luminance 0.358; OKLCH L 69.0% C 0.211 H 143.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2ABA31
RGBrgb(42, 186, 49)
HSLhsl(123, 63%, 45%)
HSVhsv(123, 77%, 73%)
CMYKcmyk(77.4%, 0%, 73.7%, 27.1%)
CIE-LABlab(66.39, -62.43, 55.53)
CIE-LCHlch(66.39, 83.55, 138.35°)
OKLaboklab(68.98% -0.1691 0.1257)
OKLCHoklch(68.98% 0.211 143.4)
XYZxyz(19.0669, 35.8295, 8.8161)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2ABA31 #BA2AB3
analogous
#6BBA2A #2ABA31 #2ABA79
triadic
#2ABA31 #312ABA #BA312A
tetradic
#2ABA31 #2A6BBA #BA2AB3 #BA792A
square
#2ABA31 #2A6BBA #BA2AB3 #BA792A
split-complementary
#2ABA31 #792ABA #BA2A6B
monochromatic
#135617 #1F8824 #2ABA31 #4BD652 #7DE282

Accessibility & contrast

On white

2.57
#2ABA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#2ABA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2ABA31
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2ABA31#FFFFFF#000000##000000
##2ABA311.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#00B59F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2aba31;
/* rgb */ color: rgb(42, 186, 49);
/* oklch */ color: oklch(69.0% 0.211 143.4);
Tailwind
colors: {
  custom: {
    50: '#7dd072',
    500: '#2aba31',
    950: '#000000',
  },
}
SCSS
$custom: #2aba31;
$custom-light: #7dd072;
$custom-dark: #000000;
JSON
{
  "hex": "#2aba31",
  "rgb": {
    "r": 42,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 122.917,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68979,
    "c": 0.21075,
    "h": 143.4
  },
  "luminance": 0.35832
}

Semantic roles & 50–950 ramp

primary
#2ABA31
secondary
#CA76C6
accent
#42DEE6
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2ABA31

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

Preview Lab → · Contrast checker → · Palette generator →

#2ABA31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva