#2F761F#2F761F

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

Color values

HEX#2F761F
RGBrgb(47, 118, 31)
HSLhsl(109, 58%, 29%)
HSVhsv(109, 74%, 46%)
CMYKcmyk(60.2%, 0%, 73.7%, 53.7%)
CIE-LABlab(43.74, -39.32, 39.31)
CIE-LCHlch(43.74, 55.60, 135.01°)
OKLaboklab(50.2% -0.1078 0.0894)
OKLCHoklch(50.2% 0.14 140.3)
XYZxyz(7.8977, 13.6594, 3.5164)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F761F #661F76
analogous
#5B761F #2F761F #1F763B
triadic
#2F761F #1F2F76 #761F2F
tetradic
#2F761F #1F5B76 #661F76 #763B1F
square
#2F761F #1F5B76 #661F76 #763B1F
split-complementary
#2F761F #3B1F76 #761F5B
monochromatic
#0A1806 #1C4612 #2F761F #42A62C #5CCD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F761F#FFFFFF#000000##FFFFFF
##2F761F1.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)
#796B11
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#267265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f761f;
/* rgb */ color: rgb(47, 118, 31);
/* oklch */ color: oklch(50.2% 0.140 140.3);
Tailwind
colors: {
  custom: {
    50: '#709e60',
    500: '#2f761f',
    950: '#000000',
  },
}
SCSS
$custom: #2f761f;
$custom-light: #709e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f761f",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 108.966,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.14001,
    "h": 140.3
  },
  "luminance": 0.1366
}

Semantic roles & 50–950 ramp

primary
#2F761F
secondary
#9847AA
accent
#46E2C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F761F

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

Preview Lab → · Contrast checker → · Palette generator →

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