#2D794C#2D794C

#2D794C is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.104 H 154.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2D794C
RGBrgb(45, 121, 76)
HSLhsl(144, 46%, 33%)
HSVhsv(144, 63%, 47%)
CMYKcmyk(62.8%, 0%, 37.2%, 52.5%)
CIE-LABlab(45.29, -34.44, 17.93)
CIE-LCHlch(45.29, 38.82, 152.50°)
OKLaboklab(51.65% -0.0934 0.045)
OKLCHoklch(51.65% 0.104 154.3)
XYZxyz(9.2233, 14.7535, 9.1977)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D794C #792D5A
analogous
#34792D #2D794C #2D7972
triadic
#2D794C #4C2D79 #794C2D
tetradic
#2D794C #2D3479 #792D5A #79722D
square
#2D794C #2D3479 #792D5A #79722D
split-complementary
#2D794C #722D79 #792D34
monochromatic
#0C2014 #1C4C30 #2D794C #3EA668 #5DC387

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D794C#FFFFFF#000000##FFFFFF
##2D794C1.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)
#797049
Deuteranopia (green-blind)
#6F684F
Tritanopia (blue-blind)
#10786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d794c;
/* rgb */ color: rgb(45, 121, 76);
/* oklch */ color: oklch(51.7% 0.104 154.3);
Tailwind
colors: {
  custom: {
    50: '#6ea07e',
    500: '#2d794c',
    950: '#000000',
  },
}
SCSS
$custom: #2d794c;
$custom-light: #6ea07e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d794c",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 144.474,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.10366,
    "h": 154.3
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#2D794C
secondary
#A95888
accent
#52A0D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2D794C

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

Preview Lab → · Contrast checker → · Palette generator →

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