#2AB731#2AB731

#2AB731 is a light, highly saturated green. Relative luminance 0.346; OKLCH L 68.2% C 0.207 H 143.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2AB731
RGBrgb(42, 183, 49)
HSLhsl(123, 63%, 44%)
HSVhsv(123, 77%, 72%)
CMYKcmyk(77%, 0%, 73.2%, 28.2%)
CIE-LABlab(65.42, -61.49, 54.54)
CIE-LCHlch(65.42, 82.19, 138.42°)
OKLaboklab(68.17% -0.1666 0.1237)
OKLCHoklch(68.17% 0.207 143.4)
XYZxyz(18.4415, 34.5788, 8.6076)
Luminance0.3458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB731 #B72AB0
analogous
#6AB72A #2AB731 #2AB778
triadic
#2AB731 #312AB7 #B7312A
tetradic
#2AB731 #2A6AB7 #B72AB0 #B7782A
square
#2AB731 #2A6AB7 #B72AB0 #B7782A
split-complementary
#2AB731 #782AB7 #B72A6A
monochromatic
#135316 #1F8524 #2AB731 #49D550 #7BE180

Accessibility & contrast

On white

2.65
#2AB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#2AB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB731
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB731#FFFFFF#000000##000000
##2AB7311.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA519
Deuteranopia (green-blind)
#AB9B3F
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #2ab731;
/* rgb */ color: rgb(42, 183, 49);
/* oklch */ color: oklch(68.2% 0.207 143.4);
Tailwind
colors: {
  custom: {
    50: '#7cce71',
    500: '#2ab731',
    950: '#000000',
  },
}
SCSS
$custom: #2ab731;
$custom-light: #7cce71;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab731",
  "rgb": {
    "r": 42,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 122.979,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68173,
    "c": 0.20746,
    "h": 143.4
  },
  "luminance": 0.34581
}

Semantic roles & 50–950 ramp

primary
#2AB731
secondary
#C974C5
accent
#42DEE6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #2AB731

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

Preview Lab → · Contrast checker → · Palette generator →

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