#2D793B#2D793B

#2D793B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.121 H 147.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2D793B
RGBrgb(45, 121, 59)
HSLhsl(131, 46%, 33%)
HSVhsv(131, 63%, 47%)
CMYKcmyk(62.8%, 0%, 51.2%, 52.5%)
CIE-LABlab(45.01, -37.56, 27.08)
CIE-LCHlch(45.01, 46.30, 144.21°)
OKLaboklab(51.32% -0.1015 0.0657)
OKLCHoklch(51.32% 0.121 147.1)
XYZxyz(8.7084, 14.5476, 6.4859)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D793B #792D6B
analogous
#45792D #2D793B #2D7961
triadic
#2D793B #3B2D79 #793B2D
tetradic
#2D793B #2D4579 #792D6B #79612D
square
#2D793B #2D4579 #792D6B #79612D
split-complementary
#2D793B #612D79 #792D45
monochromatic
#0C200F #1C4C25 #2D793B #3EA651 #5DC370

Accessibility & contrast

On white

5.37
#2D793B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2D793B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D793B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D793B#FFFFFF#000000##FFFFFF
##2D793B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F36
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#1A766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d793b;
/* rgb */ color: rgb(45, 121, 59);
/* oklch */ color: oklch(51.3% 0.121 147.1);
Tailwind
colors: {
  custom: {
    50: '#6fa072',
    500: '#2d793b',
    950: '#000000',
  },
}
SCSS
$custom: #2d793b;
$custom-light: #6fa072;
$custom-dark: #000000;
JSON
{
  "hex": "#2d793b",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 59
  },
  "hsl": {
    "h": 131.053,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.12093,
    "h": 147.1
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#2D793B
secondary
#A9589A
accent
#52BDD5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2D793B

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

Preview Lab → · Contrast checker → · Palette generator →

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