#2BAB52#2BAB52

#2BAB52 is a light, vivid green. Relative luminance 0.302; OKLCH L 65.3% C 0.168 H 148.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2BAB52
RGBrgb(43, 171, 82)
HSLhsl(138, 60%, 42%)
HSVhsv(138, 75%, 67%)
CMYKcmyk(74.9%, 0%, 52%, 32.9%)
CIE-LABlab(61.87, -53.47, 35.98)
CIE-LCHlch(61.87, 64.45, 146.07°)
OKLaboklab(65.33% -0.1438 0.0869)
OKLCHoklch(65.33% 0.168 148.9)
XYZxyz(17.0808, 30.2466, 12.9190)
Luminance0.3025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAB52 #AB2B84
analogous
#44AB2B #2BAB52 #2BAB92
triadic
#2BAB52 #522BAB #AB522B
tetradic
#2BAB52 #2B44AB #AB2B84 #AB922B
square
#2BAB52 #2B44AB #AB2B84 #AB922B
split-complementary
#2BAB52 #922BAB #AB2B44
monochromatic
#124923 #1F7A3B #2BAB52 #43D06E #74DC94

Accessibility & contrast

On white

2.98
#2BAB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#2BAB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BAB52
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAB52#FFFFFF#000000##000000
##2BAB521.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4A
Deuteranopia (green-blind)
#9E9159
Tritanopia (blue-blind)
#00A897
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #2bab52;
/* rgb */ color: rgb(43, 171, 82);
/* oklch */ color: oklch(65.3% 0.168 148.9);
Tailwind
colors: {
  custom: {
    50: '#78c584',
    500: '#2bab52',
    950: '#000000',
  },
}
SCSS
$custom: #2bab52;
$custom-light: #78c584;
$custom-dark: #000000;
JSON
{
  "hex": "#2bab52",
  "rgb": {
    "r": 43,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 138.281,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65333,
    "c": 0.16801,
    "h": 148.9
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

primary
#2BAB52
secondary
#C46EAA
accent
#45B3E3
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #2BAB52

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

Preview Lab → · Contrast checker → · Palette generator →

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