#2B7236#2B7236

#2B7236 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.117 H 146.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2B7236
RGBrgb(43, 114, 54)
HSLhsl(129, 45%, 31%)
HSVhsv(129, 62%, 45%)
CMYKcmyk(62.3%, 0%, 52.6%, 55.3%)
CIE-LABlab(42.48, -35.92, 26.64)
CIE-LCHlch(42.48, 44.72, 143.44°)
OKLaboklab(49.2% -0.0972 0.0644)
OKLCHoklch(49.2% 0.117 146.5)
XYZxyz(7.6789, 12.8138, 5.5580)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7236 #722B67
analogous
#43722B #2B7236 #2B7259
triadic
#2B7236 #362B72 #72362B
tetradic
#2B7236 #2B4372 #722B67 #72592B
square
#2B7236 #2B4372 #722B67 #72592B
split-complementary
#2B7236 #592B72 #722B43
monochromatic
#09190C #1A4621 #2B7236 #3C9E4B #58C068

Accessibility & contrast

On white

5.89
#2B7236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2B7236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7236
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7236#FFFFFF#000000##FFFFFF
##2B72361.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746831
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#1B6F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7236;
/* rgb */ color: rgb(43, 114, 54);
/* oklch */ color: oklch(49.2% 0.117 146.5);
Tailwind
colors: {
  custom: {
    50: '#6c9b6e',
    500: '#2b7236',
    950: '#000000',
  },
}
SCSS
$custom: #2b7236;
$custom-light: #6c9b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7236",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 129.296,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.1166,
    "h": 146.5
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#2B7236
secondary
#A45598
accent
#53C1D5
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7236

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

Preview Lab → · Contrast checker → · Palette generator →

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