#2AB031#2AB031

#2AB031 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.3% C 0.200 H 143.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2AB031
RGBrgb(42, 176, 49)
HSLhsl(123, 61%, 43%)
HSVhsv(123, 76%, 69%)
CMYKcmyk(76.1%, 0%, 72.2%, 31%)
CIE-LABlab(63.15, -59.25, 52.21)
CIE-LCHlch(63.15, 78.97, 138.61°)
OKLaboklab(66.28% -0.1605 0.1188)
OKLCHoklch(66.28% 0.2 143.5)
XYZxyz(17.0335, 31.7627, 8.1382)
Luminance0.3176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB031 #B02AA9
analogous
#66B02A #2AB031 #2AB074
triadic
#2AB031 #312AB0 #B0312A
tetradic
#2AB031 #2A66B0 #B02AA9 #B0742A
square
#2AB031 #2A66B0 #B02AA9 #B0742A
split-complementary
#2AB031 #742AB0 #B02A66
monochromatic
#124D15 #1E7F23 #2AB031 #45D34C #76DE7C

Accessibility & contrast

On white

2.86
#2AB031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#2AB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB031
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB031#FFFFFF#000000##000000
##2AB0311.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#A5953E
Tritanopia (blue-blind)
#00AB97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2ab031;
/* rgb */ color: rgb(42, 176, 49);
/* oklch */ color: oklch(66.3% 0.200 143.5);
Tailwind
colors: {
  custom: {
    50: '#7ac971',
    500: '#2ab031',
    950: '#000000',
  },
}
SCSS
$custom: #2ab031;
$custom-light: #7ac971;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab031",
  "rgb": {
    "r": 42,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 123.134,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66284,
    "c": 0.19969,
    "h": 143.5
  },
  "luminance": 0.31765
}

Semantic roles & 50–950 ramp

primary
#2AB031
secondary
#C670C1
accent
#43DCE5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB031

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

Preview Lab → · Contrast checker → · Palette generator →

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