#2AB962#2AB962

#2AB962 is a light, vivid green. Relative luminance 0.361; OKLCH L 69.3% C 0.172 H 151.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2AB962
RGBrgb(42, 185, 98)
HSLhsl(143, 63%, 45%)
HSVhsv(143, 77%, 73%)
CMYKcmyk(77.3%, 0%, 47%, 27.5%)
CIE-LABlab(66.57, -56.03, 33.76)
CIE-LCHlch(66.57, 65.42, 148.93°)
OKLaboklab(69.3% -0.1506 0.0826)
OKLCHoklch(69.3% 0.172 151.2)
XYZxyz(20.5066, 36.0696, 17.4343)
Luminance0.3607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AB962 #B92A81
analogous
#39B92A #2AB962 #2AB9AA
triadic
#2AB962 #622AB9 #B9622A
tetradic
#2AB962 #2A39B9 #B92A81 #B9AA2A
square
#2AB962 #2A39B9 #B92A81 #B9AA2A
split-complementary
#2AB962 #AA2AB9 #B92A39
monochromatic
#13552D #1F8748 #2AB962 #4AD681 #7CE1A4

Accessibility & contrast

On white

2.56
#2AB962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#2AB962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AB962
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AB962#FFFFFF#000000##000000
##2AB9621.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA95B
Deuteranopia (green-blind)
#A99D68
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #2ab962;
/* rgb */ color: rgb(42, 185, 98);
/* oklch */ color: oklch(69.3% 0.172 151.2);
Tailwind
colors: {
  custom: {
    50: '#7acf90',
    500: '#2ab962',
    950: '#000000',
  },
}
SCSS
$custom: #2ab962;
$custom-light: #7acf90;
$custom-dark: #000000;
JSON
{
  "hex": "#2ab962",
  "rgb": {
    "r": 42,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 143.497,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69295,
    "c": 0.17176,
    "h": 151.2
  },
  "luminance": 0.36072
}

Semantic roles & 50–950 ramp

primary
#2AB962
secondary
#CA75A9
accent
#42A6E6
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #2AB962

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

Preview Lab → · Contrast checker → · Palette generator →

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