#2B7947#2B7947

#2B7947 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.110 H 152.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2B7947
RGBrgb(43, 121, 71)
HSLhsl(142, 48%, 32%)
HSVhsv(142, 64%, 47%)
CMYKcmyk(64.5%, 0%, 41.3%, 52.5%)
CIE-LABlab(45.14, -35.89, 20.57)
CIE-LCHlch(45.14, 41.37, 150.19°)
OKLaboklab(51.48% -0.0971 0.0512)
OKLCHoklch(51.48% 0.11 152.2)
XYZxyz(8.9702, 14.6424, 8.3135)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7947 #792B5D
analogous
#36792B #2B7947 #2B796E
triadic
#2B7947 #472B79 #79472B
tetradic
#2B7947 #2B3679 #792B5D #796E2B
square
#2B7947 #2B3679 #792B5D #796E2B
split-complementary
#2B7947 #6E2B79 #792B36
monochromatic
#0B1F12 #1B4C2D #2B7947 #3BA661 #5AC480

Accessibility & contrast

On white

5.35
#2B7947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2B7947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7947
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7947#FFFFFF#000000##FFFFFF
##2B79471.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#0E776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7947;
/* rgb */ color: rgb(43, 121, 71);
/* oklch */ color: oklch(51.5% 0.110 152.2);
Tailwind
colors: {
  custom: {
    50: '#6da07b',
    500: '#2b7947',
    950: '#000000',
  },
}
SCSS
$custom: #2b7947;
$custom-light: #6da07b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7947",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 141.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.10971,
    "h": 152.2
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#2B7947
secondary
#AA568C
accent
#51A7D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B7947

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

Preview Lab → · Contrast checker → · Palette generator →

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