#2D793E#2D793E

#2D793E is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.118 H 148.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2D793E
RGBrgb(45, 121, 62)
HSLhsl(133, 46%, 33%)
HSVhsv(133, 63%, 47%)
CMYKcmyk(62.8%, 0%, 48.8%, 52.5%)
CIE-LABlab(45.05, -37.06, 25.50)
CIE-LCHlch(45.05, 44.99, 145.47°)
OKLaboklab(51.37% -0.1002 0.0623)
OKLCHoklch(51.37% 0.118 148.1)
XYZxyz(8.7885, 14.5796, 6.9075)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D793E #792D68
analogous
#42792D #2D793E #2D7964
triadic
#2D793E #3E2D79 #793E2D
tetradic
#2D793E #2D4279 #792D68 #79642D
square
#2D793E #2D4279 #792D68 #79642D
split-complementary
#2D793E #642D79 #792D42
monochromatic
#0C2010 #1C4C27 #2D793E #3EA655 #5DC374

Accessibility & contrast

On white

5.36
#2D793E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D793E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D793E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D793E#FFFFFF#000000##FFFFFF
##2D793E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F39
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#19776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d793e;
/* rgb */ color: rgb(45, 121, 62);
/* oklch */ color: oklch(51.4% 0.118 148.1);
Tailwind
colors: {
  custom: {
    50: '#6ea074',
    500: '#2d793e',
    950: '#000000',
  },
}
SCSS
$custom: #2d793e;
$custom-light: #6ea074;
$custom-dark: #000000;
JSON
{
  "hex": "#2d793e",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 133.421,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.11793,
    "h": 148.1
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#2D793E
secondary
#A95897
accent
#52B8D5
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2D793E

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

Preview Lab → · Contrast checker → · Palette generator →

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