#2D772F#2D772F

#2D772F is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.129 H 143.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2D772F
RGBrgb(45, 119, 47)
HSLhsl(122, 45%, 32%)
HSVhsv(122, 62%, 47%)
CMYKcmyk(62.2%, 0%, 60.5%, 53.3%)
CIE-LABlab(44.17, -38.49, 32.36)
CIE-LCHlch(44.17, 50.29, 139.95°)
OKLaboklab(50.58% -0.1045 0.0765)
OKLCHoklch(50.58% 0.129 143.8)
XYZxyz(8.1916, 13.9560, 4.9509)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D772F #772D75
analogous
#50772D #2D772F #2D7754
triadic
#2D772F #2F2D77 #772F2D
tetradic
#2D772F #2D5077 #772D75 #77542D
square
#2D772F #2D5077 #772D75 #77542D
split-complementary
#2D772F #542D77 #772D50
monochromatic
#0B1E0C #1C4B1D #2D772F #3EA341 #5DC25F

Accessibility & contrast

On white

5.54
#2D772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#2D772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D772F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D772F#FFFFFF#000000##FFFFFF
##2D772F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#1F7467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d772f;
/* rgb */ color: rgb(45, 119, 47);
/* oklch */ color: oklch(50.6% 0.129 143.8);
Tailwind
colors: {
  custom: {
    50: '#6f9f6a',
    500: '#2d772f',
    950: '#000000',
  },
}
SCSS
$custom: #2d772f;
$custom-light: #6f9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d772f",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 121.622,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.12948,
    "h": 143.8
  },
  "luminance": 0.13957
}

Semantic roles & 50–950 ramp

primary
#2D772F
secondary
#A858A6
accent
#53D1D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D772F

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

Preview Lab → · Contrast checker → · Palette generator →

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