#2D791D#2D791D

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

Color values

HEX#2D791D
RGBrgb(45, 121, 29)
HSLhsl(110, 61%, 29%)
HSVhsv(110, 76%, 47%)
CMYKcmyk(62.8%, 0%, 76%, 52.5%)
CIE-LABlab(44.69, -41.19, 41.06)
CIE-LCHlch(44.69, 58.16, 135.09°)
OKLaboklab(50.96% -0.1128 0.0928)
OKLCHoklch(50.96% 0.146 140.6)
XYZxyz(8.1409, 14.3206, 3.4973)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D791D #691D79
analogous
#5B791D #2D791D #1D793B
triadic
#2D791D #1D2D79 #791D2D
tetradic
#2D791D #1D5B79 #691D79 #793B1D
square
#2D791D #1D5B79 #691D79 #793B1D
split-complementary
#2D791D #3B1D79 #791D5B
monochromatic
#091906 #1B4811 #2D791D #3FAA29 #59D13F

Accessibility & contrast

On white

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

On black

3.86
#2D791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D791D#FFFFFF#000000##FFFFFF
##2D791D1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d791d;
/* rgb */ color: rgb(45, 121, 29);
/* oklch */ color: oklch(51.0% 0.146 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a060',
    500: '#2d791d',
    950: '#000000',
  },
}
SCSS
$custom: #2d791d;
$custom-light: #70a060;
$custom-dark: #000000;
JSON
{
  "hex": "#2d791d",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 109.565,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.14607,
    "h": 140.6
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#2D791D
secondary
#9B45AD
accent
#43E4C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2D791D

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

Preview Lab → · Contrast checker → · Palette generator →

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