#2B7147#2B7147

#2B7147 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.098 H 154.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2B7147
RGBrgb(43, 113, 71)
HSLhsl(144, 45%, 31%)
HSVhsv(144, 62%, 44%)
CMYKcmyk(61.9%, 0%, 37.2%, 55.7%)
CIE-LABlab(42.43, -32.37, 16.96)
CIE-LCHlch(42.43, 36.54, 152.35°)
OKLaboklab(49.25% -0.0878 0.0426)
OKLCHoklch(49.25% 0.098 154.1)
XYZxyz(8.0381, 12.7780, 8.0028)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7147 #712B55
analogous
#32712B #2B7147 #2B716A
triadic
#2B7147 #472B71 #71472B
tetradic
#2B7147 #2B3271 #712B55 #716A2B
square
#2B7147 #2B3271 #712B55 #716A2B
split-complementary
#2B7147 #6A2B71 #712B32
monochromatic
#09180F #1A452B #2B7147 #3C9D63 #57BF81

Accessibility & contrast

On white

5.91
#2B7147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7147
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7147#FFFFFF#000000##FFFFFF
##2B71471.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716844
Deuteranopia (green-blind)
#67614A
Tritanopia (blue-blind)
#137066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7147;
/* rgb */ color: rgb(43, 113, 71);
/* oklch */ color: oklch(49.3% 0.098 154.1);
Tailwind
colors: {
  custom: {
    50: '#6c9a7a',
    500: '#2b7147',
    950: '#000000',
  },
}
SCSS
$custom: #2b7147;
$custom-light: #6c9a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7147",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 71
  },
  "hsl": {
    "h": 144,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.0976,
    "h": 154.1
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#2B7147
secondary
#A35584
accent
#53A1D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2B7147

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

Preview Lab → · Contrast checker → · Palette generator →

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