#2B9942#2B9942

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

Color values

HEX#2B9942
RGBrgb(43, 153, 66)
HSLhsl(133, 56%, 38%)
HSVhsv(133, 72%, 60%)
CMYKcmyk(71.9%, 0%, 56.9%, 40%)
CIE-LABlab(55.77, -49.33, 36.56)
CIE-LCHlch(55.77, 61.40, 143.46°)
OKLaboklab(60.23% -0.133 0.0872)
OKLCHoklch(60.23% 0.159 146.8)
XYZxyz(13.3699, 23.6879, 9.0208)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9942 #992B82
analogous
#4B992B #2B9942 #2B9979
triadic
#2B9942 #422B99 #99422B
tetradic
#2B9942 #2B4B99 #992B82 #99792B
square
#2B9942 #2B4B99 #992B82 #99792B
split-complementary
#2B9942 #792B99 #992B4B
monochromatic
#103919 #1E692D #2B9942 #3AC857 #69D580

Accessibility & contrast

On white

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

On black

5.74
#2B9942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9942
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9942#FFFFFF#000000##000000
##2B99421.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3A
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2b9942;
/* rgb */ color: rgb(43, 153, 66);
/* oklch */ color: oklch(60.2% 0.159 146.8);
Tailwind
colors: {
  custom: {
    50: '#74b879',
    500: '#2b9942',
    950: '#000000',
  },
}
SCSS
$custom: #2b9942;
$custom-light: #74b879;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9942",
  "rgb": {
    "r": 43,
    "g": 153,
    "b": 66
  },
  "hsl": {
    "h": 132.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.159,
    "h": 146.8
  },
  "luminance": 0.23689
}

Semantic roles & 50–950 ramp

primary
#2B9942
secondary
#BC64A9
accent
#48C0DF
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2B9942

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

Preview Lab → · Contrast checker → · Palette generator →

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