#2F771E#2F771E

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

Color values

HEX#2F771E
RGBrgb(47, 119, 30)
HSLhsl(109, 60%, 29%)
HSVhsv(109, 75%, 47%)
CMYKcmyk(60.5%, 0%, 74.8%, 53.3%)
CIE-LABlab(44.08, -39.80, 40.06)
CIE-LCHlch(44.08, 56.47, 134.81°)
OKLaboklab(50.47% -0.1091 0.0908)
OKLCHoklch(50.47% 0.142 140.2)
XYZxyz(8.0031, 13.8910, 3.4875)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F771E #661E77
analogous
#5C771E #2F771E #1E773A
triadic
#2F771E #1E2F77 #771E2F
tetradic
#2F771E #1E5C77 #661E77 #773A1E
square
#2F771E #1E5C77 #661E77 #773A1E
split-complementary
#2F771E #3A1E77 #771E5C
monochromatic
#0A1806 #1C4612 #2F771E #42A82A #5CCF40

Accessibility & contrast

On white

5.56
#2F771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2F771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F771E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F771E#FFFFFF#000000##FFFFFF
##2F771E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0F
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#267366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f771e;
/* rgb */ color: rgb(47, 119, 30);
/* oklch */ color: oklch(50.5% 0.142 140.2);
Tailwind
colors: {
  custom: {
    50: '#719f60',
    500: '#2f771e',
    950: '#000000',
  },
}
SCSS
$custom: #2f771e;
$custom-light: #719f60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f771e",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 108.539,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.14198,
    "h": 140.2
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#2F771E
secondary
#9846AB
accent
#45E3C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F771E

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

Preview Lab → · Contrast checker → · Palette generator →

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