#2F771D#2F771D

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

Color values

HEX#2F771D
RGBrgb(47, 119, 29)
HSLhsl(108, 61%, 29%)
HSVhsv(108, 76%, 47%)
CMYKcmyk(60.5%, 0%, 75.6%, 53.3%)
CIE-LABlab(44.07, -39.88, 40.46)
CIE-LCHlch(44.07, 56.81, 134.59°)
OKLaboklab(50.46% -0.1094 0.0915)
OKLCHoklch(50.46% 0.143 140.1)
XYZxyz(7.9905, 13.8860, 3.4213)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F771D #651D77
analogous
#5C771D #2F771D #1D7738
triadic
#2F771D #1D2F77 #771D2F
tetradic
#2F771D #1D5C77 #651D77 #77381D
square
#2F771D #1D5C77 #651D77 #77381D
split-complementary
#2F771D #381D77 #771D5C
monochromatic
#0A1906 #1C4611 #2F771D #42A829 #5BD03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F771D#FFFFFF#000000##FFFFFF
##2F771D1.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)
#7A6C0D
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#267365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f771d;
/* rgb */ color: rgb(47, 119, 29);
/* oklch */ color: oklch(50.5% 0.143 140.1);
Tailwind
colors: {
  custom: {
    50: '#719f5f',
    500: '#2f771d',
    950: '#000000',
  },
}
SCSS
$custom: #2f771d;
$custom-light: #719f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f771d",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 108,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.14263,
    "h": 140.1
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#2F771D
secondary
#9745AB
accent
#44E4C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F771D

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

Preview Lab → · Contrast checker → · Palette generator →

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