#2D772B#2D772B

#2D772B is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.133 H 142.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2D772B
RGBrgb(45, 119, 43)
HSLhsl(118, 47%, 32%)
HSVhsv(118, 64%, 47%)
CMYKcmyk(62.2%, 0%, 63.9%, 53.3%)
CIE-LABlab(44.13, -39.00, 34.29)
CIE-LCHlch(44.13, 51.93, 138.68°)
OKLaboklab(50.53% -0.106 0.0803)
OKLCHoklch(50.53% 0.133 142.9)
XYZxyz(8.1146, 13.9252, 4.5452)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D772B #752B77
analogous
#53772B #2D772B #2B774F
triadic
#2D772B #2B2D77 #772B2D
tetradic
#2D772B #2B5377 #752B77 #774F2B
square
#2D772B #2B5377 #752B77 #774F2B
split-complementary
#2D772B #4F2B77 #772B53
monochromatic
#0B1D0B #1C4A1B #2D772B #3EA43B #5CC359

Accessibility & contrast

On white

5.55
#2D772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D772B
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D772B#FFFFFF#000000##FFFFFF
##2D772B1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C23
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#207467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d772b;
/* rgb */ color: rgb(45, 119, 43);
/* oklch */ color: oklch(50.5% 0.133 142.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f67',
    500: '#2d772b',
    950: '#000000',
  },
}
SCSS
$custom: #2d772b;
$custom-light: #6f9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d772b",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 118.421,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.13299,
    "h": 142.9
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#2D772B
secondary
#A655A9
accent
#51D7D3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D772B

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

Preview Lab → · Contrast checker → · Palette generator →

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