#2D7B47#2D7B47

#2D7B47 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.112 H 151.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2D7B47
RGBrgb(45, 123, 71)
HSLhsl(140, 46%, 33%)
HSVhsv(140, 63%, 48%)
CMYKcmyk(63.4%, 0%, 42.3%, 51.8%)
CIE-LABlab(45.88, -36.29, 21.55)
CIE-LCHlch(45.88, 42.21, 149.31°)
OKLaboklab(52.1% -0.0981 0.0535)
OKLCHoklch(52.1% 0.112 151.4)
XYZxyz(9.3018, 15.1778, 8.3994)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B47 #7B2D61
analogous
#3A7B2D #2D7B47 #2D7B6E
triadic
#2D7B47 #472D7B #7B472D
tetradic
#2D7B47 #2D3A7B #7B2D61 #7B6E2D
square
#2D7B47 #2D3A7B #7B2D61 #7B6E2D
split-complementary
#2D7B47 #6E2D7B #7B2D3A
monochromatic
#0C2113 #1D4E2D #2D7B47 #3DA861 #5EC480

Accessibility & contrast

On white

5.20
#2D7B47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2D7B47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B47
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B47#FFFFFF#000000##FFFFFF
##2D7B471.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7143
Deuteranopia (green-blind)
#716A4A
Tritanopia (blue-blind)
#13796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7b47;
/* rgb */ color: rgb(45, 123, 71);
/* oklch */ color: oklch(52.1% 0.112 151.4);
Tailwind
colors: {
  custom: {
    50: '#6fa27b',
    500: '#2d7b47',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b47;
$custom-light: #6fa27b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b47",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 71
  },
  "hsl": {
    "h": 140,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.521,
    "c": 0.11175,
    "h": 151.4
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#2D7B47
secondary
#AB598F
accent
#52AAD6
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D7B47

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

Preview Lab → · Contrast checker → · Palette generator →

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