#2B7832#2B7832

#2B7832 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.129 H 144.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2B7832
RGBrgb(43, 120, 50)
HSLhsl(125, 47%, 32%)
HSVhsv(125, 64%, 47%)
CMYKcmyk(64.2%, 0%, 58.3%, 52.9%)
CIE-LABlab(44.48, -38.99, 31.18)
CIE-LCHlch(44.48, 49.92, 141.35°)
OKLaboklab(50.83% -0.1056 0.0742)
OKLCHoklch(50.83% 0.129 144.9)
XYZxyz(8.2879, 14.1760, 5.3165)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7832 #782B71
analogous
#4A782B #2B7832 #2B7859
triadic
#2B7832 #322B78 #78322B
tetradic
#2B7832 #2B4A78 #782B71 #78592B
square
#2B7832 #2B4A78 #782B71 #78592B
split-complementary
#2B7832 #592B78 #782B4A
monochromatic
#0B1E0C #1B4B1F #2B7832 #3BA545 #5AC463

Accessibility & contrast

On white

5.48
#2B7832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2B7832 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7832
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7832#FFFFFF#000000##FFFFFF
##2B78321.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2B
Deuteranopia (green-blind)
#706737
Tritanopia (blue-blind)
#1A7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b7832;
/* rgb */ color: rgb(43, 120, 50);
/* oklch */ color: oklch(50.8% 0.129 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ea06c',
    500: '#2b7832',
    950: '#000000',
  },
}
SCSS
$custom: #2b7832;
$custom-light: #6ea06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7832",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 50
  },
  "hsl": {
    "h": 125.455,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50834,
    "c": 0.12905,
    "h": 144.9
  },
  "luminance": 0.14177
}

Semantic roles & 50–950 ramp

primary
#2B7832
secondary
#AA55A2
accent
#51CBD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7832

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

Preview Lab → · Contrast checker → · Palette generator →

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