#2D771E#2D771E

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

Color values

HEX#2D771E
RGBrgb(45, 119, 30)
HSLhsl(110, 60%, 29%)
HSVhsv(110, 75%, 47%)
CMYKcmyk(62.2%, 0%, 74.8%, 53.3%)
CIE-LABlab(44.01, -40.34, 39.97)
CIE-LCHlch(44.01, 56.79, 135.26°)
OKLaboklab(50.4% -0.1104 0.0907)
OKLCHoklch(50.4% 0.143 140.6)
XYZxyz(7.9130, 13.8446, 3.4833)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D771E #681E77
analogous
#5A771E #2D771E #1E773C
triadic
#2D771E #1E2D77 #771E2D
tetradic
#2D771E #1E5A77 #681E77 #773C1E
square
#2D771E #1E5A77 #681E77 #773C1E
split-complementary
#2D771E #3C1E77 #771E5A
monochromatic
#091806 #1B4612 #2D771E #3FA82A #58CF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D771E#FFFFFF#000000##FFFFFF
##2D771E1.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)
#7A6C0F
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#237366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d771e;
/* rgb */ color: rgb(45, 119, 30);
/* oklch */ color: oklch(50.4% 0.143 140.6);
Tailwind
colors: {
  custom: {
    50: '#709f60',
    500: '#2d771e',
    950: '#000000',
  },
}
SCSS
$custom: #2d771e;
$custom-light: #709f60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d771e",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 109.888,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.14289,
    "h": 140.6
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#2D771E
secondary
#9A46AB
accent
#45E3C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2D771E

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

Preview Lab → · Contrast checker → · Palette generator →

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