#2B8D40#2B8D40

#2B8D40 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.145 H 147.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B8D40
RGBrgb(43, 141, 64)
HSLhsl(133, 53%, 36%)
HSVhsv(133, 70%, 55%)
CMYKcmyk(69.5%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.76, -45.16, 32.74)
CIE-LCHlch(51.76, 55.78, 144.06°)
OKLaboklab(56.9% -0.1218 0.0786)
OKLCHoklch(56.9% 0.145 147.2)
XYZxyz(11.4457, 19.9323, 8.0936)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D40 #8D2B78
analogous
#478D2B #2B8D40 #2B8D71
triadic
#2B8D40 #402B8D #8D402B
tetradic
#2B8D40 #2B478D #8D2B78 #8D712B
square
#2B8D40 #2B478D #8D2B78 #8D712B
split-complementary
#2B8D40 #712B8D #8D2B47
monochromatic
#0E2F15 #1D5E2B #2B8D40 #39BC55 #63CF7A

Accessibility & contrast

On white

4.21
#2B8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2B8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D40
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D40#FFFFFF#000000##000000
##2B8D401.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8039
Deuteranopia (green-blind)
#837846
Tritanopia (blue-blind)
#028A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d40;
/* rgb */ color: rgb(43, 141, 64);
/* oklch */ color: oklch(56.9% 0.145 147.2);
Tailwind
colors: {
  custom: {
    50: '#72af77',
    500: '#2b8d40',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d40;
$custom-light: #72af77;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d40",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 132.857,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.569,
    "c": 0.14496,
    "h": 147.2
  },
  "luminance": 0.19934
}

Semantic roles & 50–950 ramp

primary
#2B8D40
secondary
#B65EA3
accent
#4BBDDD
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2B8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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