#2AB123#2AB123

#2AB123 is a light, highly saturated green. Relative luminance 0.321; OKLCH L 66.5% C 0.208 H 142.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2AB123
RGBrgb(42, 177, 35)
HSLhsl(117, 67%, 42%)
HSVhsv(117, 80%, 69%)
CMYKcmyk(76.3%, 0%, 80.2%, 30.6%)
CIE-LABlab(63.39, -60.60, 57.21)
CIE-LCHlch(63.39, 83.33, 136.65°)
OKLaboklab(66.46% -0.1648 0.1273)
OKLCHoklch(66.46% 0.208 142.3)
XYZxyz(16.9793, 32.0559, 6.8823)
Luminance0.3206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB123 #AA23B1
analogous
#71B123 #2AB123 #23B163
triadic
#2AB123 #232AB1 #B1232A
tetradic
#2AB123 #2371B1 #AA23B1 #B16323
square
#2AB123 #2371B1 #AA23B1 #B16323
split-complementary
#2AB123 #6323B1 #B12371
monochromatic
#124B0F #1E7E19 #2AB123 #41D839 #72E26C

Accessibility & contrast

On white

2.83
#2AB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#2AB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB123
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB123#FFFFFF#000000##000000
##2AB1231.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A69634
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2ab123;
/* rgb */ color: rgb(42, 177, 35);
/* oklch */ color: oklch(66.5% 0.208 142.3);
Tailwind
colors: {
  custom: {
    50: '#7bca6a',
    500: '#2ab123',
    950: '#000000',
  },
}
SCSS
$custom: #2ab123;
$custom-light: #7bca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab123",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 117.042,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.20826,
    "h": 142.3
  },
  "luminance": 0.32058
}

Semantic roles & 50–950 ramp

primary
#2AB123
secondary
#C368C8
accent
#3EEAE1
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AB123

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

Preview Lab → · Contrast checker → · Palette generator →

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