#2F772B#2F772B

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

Color values

HEX#2F772B
RGBrgb(47, 119, 43)
HSLhsl(117, 47%, 32%)
HSVhsv(117, 64%, 47%)
CMYKcmyk(60.5%, 0%, 63.9%, 53.3%)
CIE-LABlab(44.19, -38.47, 34.38)
CIE-LCHlch(44.19, 51.60, 138.22°)
OKLaboklab(50.6% -0.1047 0.0804)
OKLCHoklch(50.6% 0.132 142.5)
XYZxyz(8.2047, 13.9717, 4.5495)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F772B #732B77
analogous
#55772B #2F772B #2B774D
triadic
#2F772B #2B2F77 #772B2F
tetradic
#2F772B #2B5577 #732B77 #774D2B
square
#2F772B #2B5577 #732B77 #774D2B
split-complementary
#2F772B #4D2B77 #772B55
monochromatic
#0B1D0B #1D4A1B #2F772B #41A43B #5FC359

Accessibility & contrast

On white

5.53
#2F772B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F772B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F772B#FFFFFF#000000##FFFFFF
##2F772B1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f772b;
/* rgb */ color: rgb(47, 119, 43);
/* oklch */ color: oklch(50.6% 0.132 142.5);
Tailwind
colors: {
  custom: {
    50: '#709f67',
    500: '#2f772b',
    950: '#000000',
  },
}
SCSS
$custom: #2f772b;
$custom-light: #709f67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f772b",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 116.842,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50604,
    "c": 0.13207,
    "h": 142.5
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#2F772B
secondary
#A455A9
accent
#51D7D0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F772B

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

Preview Lab → · Contrast checker → · Palette generator →

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