#2D7948#2D7948

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

Color values

HEX#2D7948
RGBrgb(45, 121, 72)
HSLhsl(141, 46%, 33%)
HSVhsv(141, 63%, 47%)
CMYKcmyk(62.8%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.22, -35.24, 20.11)
CIE-LCHlch(45.22, 40.57, 150.28°)
OKLaboklab(51.57% -0.0954 0.0501)
OKLCHoklch(51.57% 0.108 152.3)
XYZxyz(9.0885, 14.6996, 8.4880)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7948 #792D5E
analogous
#38792D #2D7948 #2D796E
triadic
#2D7948 #482D79 #79482D
tetradic
#2D7948 #2D3879 #792D5E #796E2D
square
#2D7948 #2D3879 #792D5E #796E2D
split-complementary
#2D7948 #6E2D79 #792D38
monochromatic
#0C2013 #1C4C2D #2D7948 #3EA663 #5DC382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7948#FFFFFF#000000##FFFFFF
##2D79481.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)
#796F45
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#13776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7948;
/* rgb */ color: rgb(45, 121, 72);
/* oklch */ color: oklch(51.6% 0.108 152.3);
Tailwind
colors: {
  custom: {
    50: '#6ea07b',
    500: '#2d7948',
    950: '#000000',
  },
}
SCSS
$custom: #2d7948;
$custom-light: #6ea07b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7948",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 141.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.10773,
    "h": 152.3
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#2D7948
secondary
#A9588D
accent
#52A7D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2D7948

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

Preview Lab → · Contrast checker → · Palette generator →

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