#2B7E33#2B7E33

#2B7E33 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.136 H 144.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2B7E33
RGBrgb(43, 126, 51)
HSLhsl(126, 49%, 33%)
HSVhsv(126, 66%, 49%)
CMYKcmyk(65.9%, 0%, 59.5%, 50.6%)
CIE-LABlab(46.54, -41.23, 33.11)
CIE-LCHlch(46.54, 52.88, 141.24°)
OKLaboklab(52.54% -0.1116 0.0785)
OKLCHoklch(52.54% 0.136 144.9)
XYZxyz(9.0541, 15.6734, 5.6795)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E33 #7E2B76
analogous
#4C7E2B #2B7E33 #2B7E5C
triadic
#2B7E33 #332B7E #7E332B
tetradic
#2B7E33 #2B4C7E #7E2B76 #7E5C2B
square
#2B7E33 #2B4C7E #7E2B76 #7E5C2B
split-complementary
#2B7E33 #5C2B7E #7E2B4C
monochromatic
#0C230E #1B5021 #2B7E33 #3BAC45 #5CC766

Accessibility & contrast

On white

5.08
#2B7E33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2B7E33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E33
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E33#FFFFFF#000000##FFFFFF
##2B7E331.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732C
Deuteranopia (green-blind)
#766C39
Tritanopia (blue-blind)
#177B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e33;
/* rgb */ color: rgb(43, 126, 51);
/* oklch */ color: oklch(52.5% 0.136 144.9);
Tailwind
colors: {
  custom: {
    50: '#6fa46d',
    500: '#2b7e33',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e33;
$custom-light: #6fa46d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e33",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 125.783,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.13643,
    "h": 144.9
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#2B7E33
secondary
#AD58A5
accent
#4FCBD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7E33

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

Preview Lab → · Contrast checker → · Palette generator →

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