#2D772E#2D772E

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

Color values

HEX#2D772E
RGBrgb(45, 119, 46)
HSLhsl(121, 45%, 32%)
HSVhsv(121, 62%, 47%)
CMYKcmyk(62.2%, 0%, 61.3%, 53.3%)
CIE-LABlab(44.16, -38.62, 32.85)
CIE-LCHlch(44.16, 50.70, 139.62°)
OKLaboklab(50.57% -0.1049 0.0774)
OKLCHoklch(50.57% 0.13 143.6)
XYZxyz(8.1717, 13.9480, 4.8458)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D772E #772D76
analogous
#51772D #2D772E #2D7753
triadic
#2D772E #2E2D77 #772E2D
tetradic
#2D772E #2D5177 #772D76 #77532D
square
#2D772E #2D5177 #772D76 #77532D
split-complementary
#2D772E #532D77 #772D51
monochromatic
#0B1E0C #1C4B1D #2D772E #3EA33F #5DC25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D772E#FFFFFF#000000##FFFFFF
##2D772E1.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)
#796C26
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#1F7467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d772e;
/* rgb */ color: rgb(45, 119, 46);
/* oklch */ color: oklch(50.6% 0.130 143.6);
Tailwind
colors: {
  custom: {
    50: '#6f9f69',
    500: '#2d772e',
    950: '#000000',
  },
}
SCSS
$custom: #2d772e;
$custom-light: #6f9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d772e",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 120.811,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.13037,
    "h": 143.6
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#2D772E
secondary
#A858A7
accent
#53D3D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D772E

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

Preview Lab → · Contrast checker → · Palette generator →

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