#2D791E#2D791E

#2D791E is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.145 H 140.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2D791E
RGBrgb(45, 121, 30)
HSLhsl(110, 60%, 30%)
HSVhsv(110, 75%, 47%)
CMYKcmyk(62.8%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.70, -41.11, 40.67)
CIE-LCHlch(44.70, 57.83, 135.30°)
OKLaboklab(50.97% -0.1125 0.0921)
OKLCHoklch(50.97% 0.145 140.7)
XYZxyz(8.1535, 14.3256, 3.5635)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D791E #6A1E79
analogous
#5B791E #2D791E #1E793D
triadic
#2D791E #1E2D79 #791E2D
tetradic
#2D791E #1E5B79 #6A1E79 #793D1E
square
#2D791E #1E5B79 #6A1E79 #793D1E
split-complementary
#2D791E #3D1E79 #791E5B
monochromatic
#091906 #1B4812 #2D791E #3FAA2A #59D041

Accessibility & contrast

On white

5.43
#2D791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2D791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D791E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D791E#FFFFFF#000000##FFFFFF
##2D791E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E0E
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#227567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d791e;
/* rgb */ color: rgb(45, 121, 30);
/* oklch */ color: oklch(51.0% 0.145 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a060',
    500: '#2d791e',
    950: '#000000',
  },
}
SCSS
$custom: #2d791e;
$custom-light: #70a060;
$custom-dark: #000000;
JSON
{
  "hex": "#2d791e",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 110.11,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.14543,
    "h": 140.7
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#2D791E
secondary
#9C46AD
accent
#44E3C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2D791E

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

Preview Lab → · Contrast checker → · Palette generator →

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