#2D7844#2D7844

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

Color values

HEX#2D7844
RGBrgb(45, 120, 68)
HSLhsl(138, 45%, 32%)
HSVhsv(138, 63%, 47%)
CMYKcmyk(62.5%, 0%, 43.3%, 52.9%)
CIE-LABlab(44.81, -35.57, 21.85)
CIE-LCHlch(44.81, 41.74, 148.44°)
OKLaboklab(51.21% -0.0962 0.0541)
OKLCHoklch(51.21% 0.11 150.7)
XYZxyz(8.8414, 14.4073, 7.7827)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7844 #782D61
analogous
#3B782D #2D7844 #2D786A
triadic
#2D7844 #442D78 #78442D
tetradic
#2D7844 #2D3B78 #782D61 #786A2D
square
#2D7844 #2D3B78 #782D61 #786A2D
split-complementary
#2D7844 #6A2D78 #782D3B
monochromatic
#0C1F12 #1C4B2B #2D7844 #3EA55D #5DC27C

Accessibility & contrast

On white

5.41
#2D7844 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2D7844 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7844
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7844#FFFFFF#000000##FFFFFF
##2D78441.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E40
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#16766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7844;
/* rgb */ color: rgb(45, 120, 68);
/* oklch */ color: oklch(51.2% 0.110 150.7);
Tailwind
colors: {
  custom: {
    50: '#6ea078',
    500: '#2d7844',
    950: '#000000',
  },
}
SCSS
$custom: #2d7844;
$custom-light: #6ea078;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7844",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 68
  },
  "hsl": {
    "h": 138.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.11034,
    "h": 150.7
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#2D7844
secondary
#A95890
accent
#53ADD5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2D7844

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

Preview Lab → · Contrast checker → · Palette generator →

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