#2AB31B#2AB31B

#2AB31B is a light, highly saturated green. Relative luminance 0.328; OKLCH L 67.0% C 0.214 H 141.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2AB31B
RGBrgb(42, 179, 27)
HSLhsl(114, 74%, 40%)
HSVhsv(114, 85%, 70%)
CMYKcmyk(76.5%, 0%, 84.9%, 29.8%)
CIE-LABlab(64.01, -61.65, 59.94)
CIE-LCHlch(64.01, 85.99, 135.81°)
OKLaboklab(66.96% -0.1679 0.132)
OKLCHoklch(66.96% 0.214 141.8)
XYZxyz(17.2718, 32.8096, 6.4593)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB31B #A41BB3
analogous
#76B31B #2AB31B #1BB358
triadic
#2AB31B #1B2AB3 #B31B2A
tetradic
#2AB31B #1B76B3 #A41BB3 #B3581B
square
#2AB31B #1B76B3 #A41BB3 #B3581B
split-complementary
#2AB31B #581BB3 #B31B76
monochromatic
#11490B #1E7E13 #2AB31B #3EDF2C #6EE761

Accessibility & contrast

On white

2.78
#2AB31B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#2AB31B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB31B
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB31B#FFFFFF#000000##000000
##2AB31B1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab31b;
/* rgb */ color: rgb(42, 179, 27);
/* oklch */ color: oklch(67.0% 0.214 141.8);
Tailwind
colors: {
  custom: {
    50: '#7ccb67',
    500: '#2ab31b',
    950: '#000000',
  },
}
SCSS
$custom: #2ab31b;
$custom-light: #7ccb67;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab31b",
  "rgb": {
    "r": 42,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 114.079,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.21361,
    "h": 141.8
  },
  "luminance": 0.32812
}

Semantic roles & 50–950 ramp

primary
#2AB31B
secondary
#C15ECC
accent
#37F0DE
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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