#2B7849#2B7849

#2B7849 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.106 H 153.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2B7849
RGBrgb(43, 120, 73)
HSLhsl(143, 47%, 32%)
HSVhsv(143, 64%, 47%)
CMYKcmyk(64.2%, 0%, 39.2%, 52.9%)
CIE-LABlab(44.84, -35.06, 19.03)
CIE-LCHlch(44.84, 39.89, 151.51°)
OKLaboklab(51.24% -0.0949 0.0476)
OKLCHoklch(51.24% 0.106 153.4)
XYZxyz(8.9146, 14.4267, 8.6169)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7849 #782B5A
analogous
#34782B #2B7849 #2B7870
triadic
#2B7849 #492B78 #78492B
tetradic
#2B7849 #2B3478 #782B5A #78702B
square
#2B7849 #2B3478 #782B5A #78702B
split-complementary
#2B7849 #702B78 #782B34
monochromatic
#0B1E12 #1B4B2E #2B7849 #3BA564 #5AC483

Accessibility & contrast

On white

5.40
#2B7849 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2B7849 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7849
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7849#FFFFFF#000000##FFFFFF
##2B78491.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E46
Deuteranopia (green-blind)
#6E674C
Tritanopia (blue-blind)
#0D766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7849;
/* rgb */ color: rgb(43, 120, 73);
/* oklch */ color: oklch(51.2% 0.106 153.4);
Tailwind
colors: {
  custom: {
    50: '#6da07c',
    500: '#2b7849',
    950: '#000000',
  },
}
SCSS
$custom: #2b7849;
$custom-light: #6da07c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7849",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 73
  },
  "hsl": {
    "h": 143.377,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.10618,
    "h": 153.4
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#2B7849
secondary
#AA5589
accent
#51A3D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B7849

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

Preview Lab → · Contrast checker → · Palette generator →

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