#2B9731#2B9731

#2B9731 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.170 H 143.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2B9731
RGBrgb(43, 151, 49)
HSLhsl(123, 56%, 38%)
HSVhsv(123, 72%, 59%)
CMYKcmyk(71.5%, 0%, 67.5%, 40.8%)
CIE-LABlab(54.94, -50.70, 43.52)
CIE-LCHlch(54.94, 66.82, 139.35°)
OKLaboklab(59.48% -0.1373 0.1005)
OKLCHoklch(59.48% 0.17 143.8)
XYZxyz(12.6165, 22.8672, 6.6540)
Luminance0.2287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B9731 #972B91
analogous
#5B972B #2B9731 #2B9767
triadic
#2B9731 #312B97 #97312B
tetradic
#2B9731 #2B5B97 #972B91 #97672B
square
#2B9731 #2B5B97 #972B91 #97672B
split-complementary
#2B9731 #672B97 #972B5B
monochromatic
#103812 #1D6722 #2B9731 #39C741 #68D46E

Accessibility & contrast

On white

3.77
#2B9731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2B9731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B9731
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B9731#FFFFFF#000000##000000
##2B97311.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#049382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2b9731;
/* rgb */ color: rgb(43, 151, 49);
/* oklch */ color: oklch(59.5% 0.170 143.8);
Tailwind
colors: {
  custom: {
    50: '#75b76e',
    500: '#2b9731',
    950: '#000000',
  },
}
SCSS
$custom: #2b9731;
$custom-light: #75b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b9731",
  "rgb": {
    "r": 43,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 123.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.17022,
    "h": 143.8
  },
  "luminance": 0.22869
}

Semantic roles & 50–950 ramp

primary
#2B9731
secondary
#BB63B6
accent
#49D7DF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2B9731

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

Preview Lab → · Contrast checker → · Palette generator →

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