#2F761E#2F761E

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

Color values

HEX#2F761E
RGBrgb(47, 118, 30)
HSLhsl(108, 59%, 29%)
HSVhsv(108, 75%, 46%)
CMYKcmyk(60.2%, 0%, 74.6%, 53.7%)
CIE-LABlab(43.73, -39.41, 39.71)
CIE-LCHlch(43.73, 55.94, 134.78°)
OKLaboklab(50.19% -0.1081 0.0901)
OKLCHoklch(50.19% 0.141 140.2)
XYZxyz(7.8847, 13.6543, 3.4481)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F761E #651E76
analogous
#5B761E #2F761E #1E7639
triadic
#2F761E #1E2F76 #761E2F
tetradic
#2F761E #1E5B76 #651E76 #76391E
square
#2F761E #1E5B76 #651E76 #76391E
split-complementary
#2F761E #391E76 #761E5B
monochromatic
#0A1806 #1C4512 #2F761E #42A72A #5BCE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f761e;
/* rgb */ color: rgb(47, 118, 30);
/* oklch */ color: oklch(50.2% 0.141 140.2);
Tailwind
colors: {
  custom: {
    50: '#709e60',
    500: '#2f761e',
    950: '#000000',
  },
}
SCSS
$custom: #2f761e;
$custom-light: #709e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f761e",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 108.409,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.14069,
    "h": 140.2
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#2F761E
secondary
#9746AA
accent
#45E3C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F761E

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

Preview Lab → · Contrast checker → · Palette generator →

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