#2AB931#2AB931

#2AB931 is a light, highly saturated green. Relative luminance 0.354; OKLCH L 68.7% C 0.210 H 143.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2AB931
RGBrgb(42, 185, 49)
HSLhsl(123, 63%, 45%)
HSVhsv(123, 77%, 73%)
CMYKcmyk(77.3%, 0%, 73.5%, 27.5%)
CIE-LABlab(66.07, -62.12, 55.20)
CIE-LCHlch(66.07, 83.10, 138.37°)
OKLaboklab(68.71% -0.1683 0.125)
OKLCHoklch(68.71% 0.21 143.4)
XYZxyz(18.8570, 35.4097, 8.7461)
Luminance0.3541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB931 #B92AB2
analogous
#6BB92A #2AB931 #2AB979
triadic
#2AB931 #312AB9 #B9312A
tetradic
#2AB931 #2A6BB9 #B92AB2 #B9792A
square
#2AB931 #2A6BB9 #B92AB2 #B9792A
split-complementary
#2AB931 #792AB9 #B92A6B
monochromatic
#135517 #1F8724 #2AB931 #4AD651 #7CE181

Accessibility & contrast

On white

2.60
#2AB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#2AB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB931
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB931#FFFFFF#000000##000000
##2AB9311.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA718
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2ab931;
/* rgb */ color: rgb(42, 185, 49);
/* oklch */ color: oklch(68.7% 0.210 143.4);
Tailwind
colors: {
  custom: {
    50: '#7ccf72',
    500: '#2ab931',
    950: '#000000',
  },
}
SCSS
$custom: #2ab931;
$custom-light: #7ccf72;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab931",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 122.937,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68711,
    "c": 0.20966,
    "h": 143.4
  },
  "luminance": 0.35412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AB931

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

Preview Lab → · Contrast checker → · Palette generator →

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