#2B7328#2B7328

#2B7328 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.131 H 142.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2B7328
RGBrgb(43, 115, 40)
HSLhsl(118, 48%, 30%)
HSVhsv(118, 65%, 45%)
CMYKcmyk(62.6%, 0%, 65.2%, 54.9%)
CIE-LABlab(42.65, -38.27, 34.06)
CIE-LCHlch(42.65, 51.23, 138.33°)
OKLaboklab(49.29% -0.1041 0.0795)
OKLCHoklch(49.29% 0.131 142.7)
XYZxyz(7.5096, 12.9276, 4.1066)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7328 #702873
analogous
#507328 #2B7328 #28734A
triadic
#2B7328 #282B73 #73282B
tetradic
#2B7328 #285073 #702873 #734A28
square
#2B7328 #285073 #702873 #734A28
split-complementary
#2B7328 #4A2873 #732850
monochromatic
#091808 #1A4618 #2B7328 #3CA038 #57C352

Accessibility & contrast

On white

5.86
#2B7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2B7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7328
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7328#FFFFFF#000000##FFFFFF
##2B73281.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76681F
Deuteranopia (green-blind)
#6D622E
Tritanopia (blue-blind)
#1F7063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7328;
/* rgb */ color: rgb(43, 115, 40);
/* oklch */ color: oklch(49.3% 0.131 142.7);
Tailwind
colors: {
  custom: {
    50: '#6d9c65',
    500: '#2b7328',
    950: '#000000',
  },
}
SCSS
$custom: #2b7328;
$custom-light: #6d9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7328",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 117.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.13097,
    "h": 142.7
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#2B7328
secondary
#A252A5
accent
#50D8D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B7328

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

Preview Lab → · Contrast checker → · Palette generator →

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