#2D794B#2D794B

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

Color values

HEX#2D794B
RGBrgb(45, 121, 75)
HSLhsl(144, 46%, 33%)
HSVhsv(144, 63%, 47%)
CMYKcmyk(62.8%, 0%, 38%, 52.5%)
CIE-LABlab(45.28, -34.64, 18.47)
CIE-LCHlch(45.28, 39.26, 151.93°)
OKLaboklab(51.63% -0.0939 0.0463)
OKLCHoklch(51.63% 0.105 153.8)
XYZxyz(9.1888, 14.7397, 9.0161)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D794B #792D5B
analogous
#35792D #2D794B #2D7971
triadic
#2D794B #4B2D79 #794B2D
tetradic
#2D794B #2D3579 #792D5B #79712D
square
#2D794B #2D3579 #792D5B #79712D
split-complementary
#2D794B #712D79 #792D35
monochromatic
#0C2014 #1C4C2F #2D794B #3EA667 #5DC386

Accessibility & contrast

On white

5.32
#2D794B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2D794B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D794B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D794B#FFFFFF#000000##FFFFFF
##2D794B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F48
Deuteranopia (green-blind)
#6F684E
Tritanopia (blue-blind)
#11786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d794b;
/* rgb */ color: rgb(45, 121, 75);
/* oklch */ color: oklch(51.6% 0.105 153.8);
Tailwind
colors: {
  custom: {
    50: '#6ea07d',
    500: '#2d794b',
    950: '#000000',
  },
}
SCSS
$custom: #2d794b;
$custom-light: #6ea07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d794b",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 143.684,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.10467,
    "h": 153.8
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#2D794B
secondary
#A95889
accent
#52A2D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2D794B

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

Preview Lab → · Contrast checker → · Palette generator →

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