#2B7331#2B7331

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

Color values

HEX#2B7331
RGBrgb(43, 115, 49)
HSLhsl(125, 46%, 31%)
HSVhsv(125, 63%, 45%)
CMYKcmyk(62.6%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.76, -37.09, 29.64)
CIE-LCHlch(42.76, 47.48, 141.37°)
OKLaboklab(49.41% -0.1005 0.0707)
OKLCHoklch(49.41% 0.123 144.9)
XYZxyz(7.6809, 12.9961, 5.0089)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7331 #732B6D
analogous
#49732B #2B7331 #2B7355
triadic
#2B7331 #312B73 #73312B
tetradic
#2B7331 #2B4973 #732B6D #73552B
square
#2B7331 #2B4973 #732B6D #73552B
split-complementary
#2B7331 #552B73 #732B49
monochromatic
#0A1A0B #1A461E #2B7331 #3CA044 #58C161

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7331#FFFFFF#000000##FFFFFF
##2B73311.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)
#75692B
Deuteranopia (green-blind)
#6C6336
Tritanopia (blue-blind)
#1C7064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7331;
/* rgb */ color: rgb(43, 115, 49);
/* oklch */ color: oklch(49.4% 0.123 144.9);
Tailwind
colors: {
  custom: {
    50: '#6d9c6b',
    500: '#2b7331',
    950: '#000000',
  },
}
SCSS
$custom: #2b7331;
$custom-light: #6d9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7331",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 125,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.12291,
    "h": 144.9
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#2B7331
secondary
#A5559E
accent
#53CAD5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7331

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

Preview Lab → · Contrast checker → · Palette generator →

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