#2AB12F#2AB12F

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

Color values

HEX#2AB12F
RGBrgb(42, 177, 47)
HSLhsl(122, 62%, 43%)
HSVhsv(122, 76%, 69%)
CMYKcmyk(76.3%, 0%, 73.4%, 30.6%)
CIE-LABlab(63.46, -59.74, 53.28)
CIE-LCHlch(63.46, 80.05, 138.27°)
OKLaboklab(66.54% -0.1619 0.1208)
OKLCHoklch(66.54% 0.202 143.3)
XYZxyz(17.1890, 32.1398, 7.9865)
Luminance0.3214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB12F #B12AAC
analogous
#69B12A #2AB12F #2AB172
triadic
#2AB12F #2F2AB1 #B12F2A
tetradic
#2AB12F #2A69B1 #B12AAC #B1722A
square
#2AB12F #2A69B1 #B12AAC #B1722A
split-complementary
#2AB12F #722AB1 #B12A69
monochromatic
#134E15 #1E8022 #2AB12F #45D34B #77DF7B

Accessibility & contrast

On white

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

On black

7.43
#2AB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB12F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB12F#FFFFFF#000000##000000
##2AB12F1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A017
Deuteranopia (green-blind)
#A6963D
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2ab12f;
/* rgb */ color: rgb(42, 177, 47);
/* oklch */ color: oklch(66.5% 0.202 143.3);
Tailwind
colors: {
  custom: {
    50: '#7bca70',
    500: '#2ab12f',
    950: '#000000',
  },
}
SCSS
$custom: #2ab12f;
$custom-light: #7bca70;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab12f",
  "rgb": {
    "r": 42,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 122.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66539,
    "c": 0.202,
    "h": 143.3
  },
  "luminance": 0.32142
}

Semantic roles & 50–950 ramp

primary
#2AB12F
secondary
#C670C3
accent
#43DFE5
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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