#2D771D#2D771D

#2D771D is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.144 H 140.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2D771D
RGBrgb(45, 119, 29)
HSLhsl(109, 61%, 29%)
HSVhsv(109, 76%, 47%)
CMYKcmyk(62.2%, 0%, 75.6%, 53.3%)
CIE-LABlab(44.00, -40.42, 40.37)
CIE-LCHlch(44.00, 57.12, 135.04°)
OKLaboklab(50.39% -0.1107 0.0913)
OKLCHoklch(50.39% 0.144 140.5)
XYZxyz(7.9004, 13.8395, 3.4171)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D771D #671D77
analogous
#5A771D #2D771D #1D773A
triadic
#2D771D #1D2D77 #771D2D
tetradic
#2D771D #1D5A77 #671D77 #773A1D
square
#2D771D #1D5A77 #671D77 #773A1D
split-complementary
#2D771D #3A1D77 #771D5A
monochromatic
#091906 #1A4611 #2D771D #40A829 #58D03E

Accessibility & contrast

On white

5.57
#2D771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2D771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D771D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D771D#FFFFFF#000000##FFFFFF
##2D771D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0D
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#237365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d771d;
/* rgb */ color: rgb(45, 119, 29);
/* oklch */ color: oklch(50.4% 0.144 140.5);
Tailwind
colors: {
  custom: {
    50: '#709f5f',
    500: '#2d771d',
    950: '#000000',
  },
}
SCSS
$custom: #2d771d;
$custom-light: #709f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d771d",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 109.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.14354,
    "h": 140.5
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#2D771D
secondary
#9945AB
accent
#44E4C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D771D

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

Preview Lab → · Contrast checker → · Palette generator →

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