#2D792E#2D792E

#2D792E is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.133 H 143.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2D792E
RGBrgb(45, 121, 46)
HSLhsl(121, 46%, 33%)
HSVhsv(121, 63%, 47%)
CMYKcmyk(62.8%, 0%, 62%, 52.5%)
CIE-LABlab(44.84, -39.43, 33.64)
CIE-LCHlch(44.84, 51.83, 139.53°)
OKLaboklab(51.13% -0.1071 0.0792)
OKLCHoklch(51.13% 0.133 143.5)
XYZxyz(8.4122, 14.4291, 4.9260)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D792E #792D78
analogous
#52792D #2D792E #2D7954
triadic
#2D792E #2E2D79 #792E2D
tetradic
#2D792E #2D5279 #792D78 #79542D
square
#2D792E #2D5279 #792D78 #79542D
split-complementary
#2D792E #542D79 #792D52
monochromatic
#0C200C #1C4C1D #2D792E #3EA63F #5DC35F

Accessibility & contrast

On white

5.40
#2D792E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2D792E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D792E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D792E#FFFFFF#000000##FFFFFF
##2D792E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#1F7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d792e;
/* rgb */ color: rgb(45, 121, 46);
/* oklch */ color: oklch(51.1% 0.133 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fa069',
    500: '#2d792e',
    950: '#000000',
  },
}
SCSS
$custom: #2d792e;
$custom-light: #6fa069;
$custom-dark: #000000;
JSON
{
  "hex": "#2d792e",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 120.789,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.13314,
    "h": 143.5
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#2D792E
secondary
#A958A8
accent
#52D4D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D792E

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

Preview Lab → · Contrast checker → · Palette generator →

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