#2B7E31#2B7E31

#2B7E31 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.138 H 144.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2B7E31
RGBrgb(43, 126, 49)
HSLhsl(124, 49%, 33%)
HSVhsv(124, 66%, 49%)
CMYKcmyk(65.9%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.52, -41.49, 34.08)
CIE-LCHlch(46.52, 53.69, 140.61°)
OKLaboklab(52.51% -0.1124 0.0804)
OKLCHoklch(52.51% 0.138 144.4)
XYZxyz(9.0109, 15.6562, 5.4522)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E31 #7E2B78
analogous
#4E7E2B #2B7E31 #2B7E5A
triadic
#2B7E31 #312B7E #7E312B
tetradic
#2B7E31 #2B4E7E #7E2B78 #7E5A2B
square
#2B7E31 #2B4E7E #7E2B78 #7E5A2B
split-complementary
#2B7E31 #5A2B7E #7E2B4E
monochromatic
#0C230E #1B501F #2B7E31 #3BAC43 #5CC764

Accessibility & contrast

On white

5.08
#2B7E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2B7E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E31
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E31#FFFFFF#000000##FFFFFF
##2B7E311.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807329
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#177B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e31;
/* rgb */ color: rgb(43, 126, 49);
/* oklch */ color: oklch(52.5% 0.138 144.4);
Tailwind
colors: {
  custom: {
    50: '#6fa46c',
    500: '#2b7e31',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e31;
$custom-light: #6fa46c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e31",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 124.337,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.1382,
    "h": 144.4
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#2B7E31
secondary
#AD58A7
accent
#4FCFD9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7E31

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

Preview Lab → · Contrast checker → · Palette generator →

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