#2F761C#2F761C

#2F761C is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.142 H 139.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F761C
RGBrgb(47, 118, 28)
HSLhsl(107, 62%, 29%)
HSVhsv(107, 76%, 46%)
CMYKcmyk(60.2%, 0%, 76.3%, 53.7%)
CIE-LABlab(43.72, -39.57, 40.49)
CIE-LCHlch(43.72, 56.62, 134.34°)
OKLaboklab(50.17% -0.1086 0.0914)
OKLCHoklch(50.17% 0.142 139.9)
XYZxyz(7.8600, 13.6444, 3.3178)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F761C #631C76
analogous
#5C761C #2F761C #1C7636
triadic
#2F761C #1C2F76 #761C2F
tetradic
#2F761C #1C5C76 #631C76 #76361C
square
#2F761C #1C5C76 #631C76 #76361C
split-complementary
#2F761C #361C76 #761C5C
monochromatic
#0A1906 #1B4510 #2F761C #43A728 #5BD13C

Accessibility & contrast

On white

5.63
#2F761C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F761C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F761C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F761C#FFFFFF#000000##FFFFFF
##2F761C1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0B
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#267265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f761c;
/* rgb */ color: rgb(47, 118, 28);
/* oklch */ color: oklch(50.2% 0.142 139.9);
Tailwind
colors: {
  custom: {
    50: '#709e5f',
    500: '#2f761c',
    950: '#000000',
  },
}
SCSS
$custom: #2f761c;
$custom-light: #709e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f761c",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 107.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.14199,
    "h": 139.9
  },
  "luminance": 0.13645
}

Semantic roles & 50–950 ramp

primary
#2F761C
secondary
#9544AA
accent
#43E5C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F761C

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

Preview Lab → · Contrast checker → · Palette generator →

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