#2D7947#2D7947

#2D7947 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.109 H 151.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2D7947
RGBrgb(45, 121, 71)
HSLhsl(141, 46%, 33%)
HSVhsv(141, 63%, 47%)
CMYKcmyk(62.8%, 0%, 41.3%, 52.5%)
CIE-LABlab(45.20, -35.43, 20.66)
CIE-LCHlch(45.20, 41.02, 149.75°)
OKLaboklab(51.55% -0.0959 0.0514)
OKLCHoklch(51.55% 0.109 151.8)
XYZxyz(9.0562, 14.6867, 8.3176)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7947 #792D5F
analogous
#39792D #2D7947 #2D796D
triadic
#2D7947 #472D79 #79472D
tetradic
#2D7947 #2D3979 #792D5F #796D2D
square
#2D7947 #2D3979 #792D5F #796D2D
split-complementary
#2D7947 #6D2D79 #792D39
monochromatic
#0C2013 #1C4C2D #2D7947 #3EA661 #5DC380

Accessibility & contrast

On white

5.33
#2D7947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2D7947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7947
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7947#FFFFFF#000000##FFFFFF
##2D79471.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7947;
/* rgb */ color: rgb(45, 121, 71);
/* oklch */ color: oklch(51.5% 0.109 151.8);
Tailwind
colors: {
  custom: {
    50: '#6ea07b',
    500: '#2d7947',
    950: '#000000',
  },
}
SCSS
$custom: #2d7947;
$custom-light: #6ea07b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7947",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 140.526,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.10876,
    "h": 151.8
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#2D7947
secondary
#A9588E
accent
#52A9D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2D7947

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

Preview Lab → · Contrast checker → · Palette generator →

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