#2B7327#2B7327

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

Color values

HEX#2B7327
RGBrgb(43, 115, 39)
HSLhsl(117, 49%, 30%)
HSVhsv(117, 66%, 45%)
CMYKcmyk(62.6%, 0%, 66.1%, 54.9%)
CIE-LABlab(42.64, -38.38, 34.52)
CIE-LCHlch(42.64, 51.63, 138.03°)
OKLaboklab(49.28% -0.1045 0.0803)
OKLCHoklch(49.28% 0.132 142.4)
XYZxyz(7.4928, 12.9208, 4.0182)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7327 #6F2773
analogous
#517327 #2B7327 #277349
triadic
#2B7327 #272B73 #73272B
tetradic
#2B7327 #275173 #6F2773 #734927
square
#2B7327 #275173 #6F2773 #734927
split-complementary
#2B7327 #492773 #732751
monochromatic
#091808 #1A4518 #2B7327 #3CA136 #57C451

Accessibility & contrast

On white

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

On black

3.58
#2B7327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7327#FFFFFF#000000##FFFFFF
##2B73271.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7327;
/* rgb */ color: rgb(43, 115, 39);
/* oklch */ color: oklch(49.3% 0.132 142.4);
Tailwind
colors: {
  custom: {
    50: '#6d9c64',
    500: '#2b7327',
    950: '#000000',
  },
}
SCSS
$custom: #2b7327;
$custom-light: #6d9c64;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7327",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 116.842,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.13181,
    "h": 142.4
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#2B7327
secondary
#A150A5
accent
#4FD9D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B7327

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

Preview Lab → · Contrast checker → · Palette generator →

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