#2B7932#2B7932

#2B7932 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.130 H 144.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2B7932
RGBrgb(43, 121, 50)
HSLhsl(125, 48%, 32%)
HSVhsv(125, 64%, 47%)
CMYKcmyk(64.5%, 0%, 58.7%, 52.5%)
CIE-LABlab(44.83, -39.39, 31.59)
CIE-LCHlch(44.83, 50.49, 141.27°)
OKLaboklab(51.12% -0.1067 0.0751)
OKLCHoklch(51.12% 0.13 144.9)
XYZxyz(8.4088, 14.4178, 5.3568)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7932 #792B72
analogous
#4B792B #2B7932 #2B7959
triadic
#2B7932 #322B79 #79322B
tetradic
#2B7932 #2B4B79 #792B72 #79592B
square
#2B7932 #2B4B79 #792B72 #79592B
split-complementary
#2B7932 #592B79 #792B4B
monochromatic
#0B1F0D #1B4C1F #2B7932 #3BA645 #5AC464

Accessibility & contrast

On white

5.41
#2B7932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2B7932 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7932
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7932#FFFFFF#000000##FFFFFF
##2B79321.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2B
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#197669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7932;
/* rgb */ color: rgb(43, 121, 50);
/* oklch */ color: oklch(51.1% 0.130 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ea06c',
    500: '#2b7932',
    950: '#000000',
  },
}
SCSS
$custom: #2b7932;
$custom-light: #6ea06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7932",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 125.385,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.13044,
    "h": 144.9
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#2B7932
secondary
#AA56A3
accent
#51CBD7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7932

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

Preview Lab → · Contrast checker → · Palette generator →

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