#2D794D#2D794D

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

Color values

HEX#2D794D
RGBrgb(45, 121, 77)
HSLhsl(145, 46%, 33%)
HSVhsv(145, 63%, 47%)
CMYKcmyk(62.8%, 0%, 36.4%, 52.5%)
CIE-LABlab(45.31, -34.23, 17.38)
CIE-LCHlch(45.31, 38.39, 153.09°)
OKLaboklab(51.67% -0.0929 0.0437)
OKLCHoklch(51.67% 0.103 154.8)
XYZxyz(9.2583, 14.7675, 9.3823)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D794D #792D59
analogous
#33792D #2D794D #2D7973
triadic
#2D794D #4D2D79 #794D2D
tetradic
#2D794D #2D3379 #792D59 #79732D
square
#2D794D #2D3379 #792D59 #79732D
split-complementary
#2D794D #732D79 #792D33
monochromatic
#0C2014 #1C4C31 #2D794D #3EA669 #5DC388

Accessibility & contrast

On white

5.31
#2D794D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D794D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D794D#FFFFFF#000000##FFFFFF
##2D794D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#10786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d794d;
/* rgb */ color: rgb(45, 121, 77);
/* oklch */ color: oklch(51.7% 0.103 154.8);
Tailwind
colors: {
  custom: {
    50: '#6ea07f',
    500: '#2d794d',
    950: '#000000',
  },
}
SCSS
$custom: #2d794d;
$custom-light: #6ea07f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d794d",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 77
  },
  "hsl": {
    "h": 145.263,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.10264,
    "h": 154.8
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#2D794D
secondary
#A95887
accent
#529ED5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2D794D

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

Preview Lab → · Contrast checker → · Palette generator →

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