#2B9940#2B9940

#2B9940 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.161 H 146.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2B9940
RGBrgb(43, 153, 64)
HSLhsl(131, 56%, 38%)
HSVhsv(131, 72%, 60%)
CMYKcmyk(71.9%, 0%, 58.2%, 40%)
CIE-LABlab(55.75, -49.61, 37.51)
CIE-LCHlch(55.75, 62.20, 142.90°)
OKLaboklab(60.2% -0.1338 0.0891)
OKLCHoklch(60.2% 0.161 146.3)
XYZxyz(13.3120, 23.6647, 8.7157)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9940 #992B84
analogous
#4D992B #2B9940 #2B9977
triadic
#2B9940 #402B99 #99402B
tetradic
#2B9940 #2B4D99 #992B84 #99772B
square
#2B9940 #2B4D99 #992B84 #99772B
split-complementary
#2B9940 #772B99 #992B4D
monochromatic
#103918 #1E692C #2B9940 #3AC855 #69D57E

Accessibility & contrast

On white

3.66
#2B9940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#2B9940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9940
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9940#FFFFFF#000000##000000
##2B99401.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B37
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2b9940;
/* rgb */ color: rgb(43, 153, 64);
/* oklch */ color: oklch(60.2% 0.161 146.3);
Tailwind
colors: {
  custom: {
    50: '#74b877',
    500: '#2b9940',
    950: '#000000',
  },
}
SCSS
$custom: #2b9940;
$custom-light: #74b877;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9940",
  "rgb": {
    "r": 43,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 131.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.602,
    "c": 0.16074,
    "h": 146.3
  },
  "luminance": 0.23666
}

Semantic roles & 50–950 ramp

primary
#2B9940
secondary
#BC64AB
accent
#48C3DF
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B9940

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

Preview Lab → · Contrast checker → · Palette generator →

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