#2B7334#2B7334

#2B7334 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.5% C 0.120 H 145.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2B7334
RGBrgb(43, 115, 52)
HSLhsl(128, 46%, 31%)
HSVhsv(128, 63%, 45%)
CMYKcmyk(62.6%, 0%, 54.8%, 54.9%)
CIE-LABlab(42.80, -36.65, 28.10)
CIE-LCHlch(42.80, 46.19, 142.52°)
OKLaboklab(49.45% -0.0992 0.0676)
OKLCHoklch(49.45% 0.12 145.7)
XYZxyz(7.7463, 13.0223, 5.3535)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7334 #732B6A
analogous
#46732B #2B7334 #2B7358
triadic
#2B7334 #342B73 #73342B
tetradic
#2B7334 #2B4673 #732B6A #73582B
square
#2B7334 #2B4673 #732B6A #73582B
split-complementary
#2B7334 #582B73 #732B46
monochromatic
#0A1A0C #1A4620 #2B7334 #3CA048 #58C165

Accessibility & contrast

On white

5.83
#2B7334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2B7334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7334
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7334#FFFFFF#000000##FFFFFF
##2B73341.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692E
Deuteranopia (green-blind)
#6C6339
Tritanopia (blue-blind)
#1B7065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7334;
/* rgb */ color: rgb(43, 115, 52);
/* oklch */ color: oklch(49.5% 0.120 145.7);
Tailwind
colors: {
  custom: {
    50: '#6d9c6d',
    500: '#2b7334',
    950: '#000000',
  },
}
SCSS
$custom: #2b7334;
$custom-light: #6d9c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7334",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 127.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.12003,
    "h": 145.7
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#2B7334
secondary
#A5559B
accent
#53C5D5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7334

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

Preview Lab → · Contrast checker → · Palette generator →

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