#2B9F40#2B9F40

#2B9F40 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.168 H 146.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2B9F40
RGBrgb(43, 159, 64)
HSLhsl(131, 57%, 40%)
HSVhsv(131, 73%, 62%)
CMYKcmyk(73%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.73, -51.76, 39.84)
CIE-LCHlch(57.73, 65.31, 142.42°)
OKLaboklab(61.84% -0.1396 0.0941)
OKLCHoklch(61.84% 0.168 146)
XYZxyz(14.3188, 25.6784, 9.0513)
Luminance0.2568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9F40 #9F2B8A
analogous
#509F2B #2B9F40 #2B9F7A
triadic
#2B9F40 #402B9F #9F402B
tetradic
#2B9F40 #2B509F #9F2B8A #9F7A2B
square
#2B9F40 #2B509F #9F2B8A #9F7A2B
split-complementary
#2B9F40 #7A2B9F #9F2B50
monochromatic
#113F19 #1E6F2D #2B9F40 #3DCA56 #6DD780

Accessibility & contrast

On white

3.42
#2B9F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#2B9F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9F40
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9F40#FFFFFF#000000##000000
##2B9F401.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19036
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#009B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2b9f40;
/* rgb */ color: rgb(43, 159, 64);
/* oklch */ color: oklch(61.8% 0.168 146.0);
Tailwind
colors: {
  custom: {
    50: '#76bc78',
    500: '#2b9f40',
    950: '#000000',
  },
}
SCSS
$custom: #2b9f40;
$custom-light: #76bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9f40",
  "rgb": {
    "r": 43,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 130.862,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61839,
    "c": 0.16837,
    "h": 146
  },
  "luminance": 0.2568
}

Semantic roles & 50–950 ramp

primary
#2B9F40
secondary
#BE67AF
accent
#47C5E1
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2B9F40

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

Preview Lab → · Contrast checker → · Palette generator →

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