#2AB247#2AB247

#2AB247 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.0% C 0.186 H 146.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2AB247
RGBrgb(42, 178, 71)
HSLhsl(133, 62%, 43%)
HSVhsv(133, 76%, 70%)
CMYKcmyk(76.4%, 0%, 60.1%, 30.2%)
CIE-LABlab(63.99, -57.58, 43.81)
CIE-LCHlch(63.99, 72.35, 142.73°)
OKLaboklab(67.04% -0.1551 0.1033)
OKLCHoklch(67.04% 0.186 146.3)
XYZxyz(18.0112, 32.7858, 11.3391)
Luminance0.3279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB247 #B22A95
analogous
#51B22A #2AB247 #2AB28B
triadic
#2AB247 #472AB2 #B2472A
tetradic
#2AB247 #2A51B2 #B22A95 #B28B2A
square
#2AB247 #2A51B2 #B22A95 #B28B2A
split-complementary
#2AB247 #8B2AB2 #B22A51
monochromatic
#134F1F #1E8033 #2AB247 #46D364 #77DF8D

Accessibility & contrast

On white

2.78
#2AB247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#2AB247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB247
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB247#FFFFFF#000000##000000
##2AB2471.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A23C
Deuteranopia (green-blind)
#A59750
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2ab247;
/* rgb */ color: rgb(42, 178, 71);
/* oklch */ color: oklch(67.0% 0.186 146.3);
Tailwind
colors: {
  custom: {
    50: '#7aca7e',
    500: '#2ab247',
    950: '#000000',
  },
}
SCSS
$custom: #2ab247;
$custom-light: #7aca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab247",
  "rgb": {
    "r": 42,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 132.794,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67044,
    "c": 0.18635,
    "h": 146.3
  },
  "luminance": 0.32788
}

Semantic roles & 50–950 ramp

primary
#2AB247
secondary
#C771B4
accent
#43C2E5
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #2AB247

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

Preview Lab → · Contrast checker → · Palette generator →

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