#2F761A#2F761A

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

Color values

HEX#2F761A
RGBrgb(47, 118, 26)
HSLhsl(106, 64%, 28%)
HSVhsv(106, 78%, 46%)
CMYKcmyk(60.2%, 0%, 78%, 53.7%)
CIE-LABlab(43.70, -39.73, 41.25)
CIE-LCHlch(43.70, 57.27, 133.93°)
OKLaboklab(50.16% -0.1092 0.0927)
OKLCHoklch(50.16% 0.143 139.7)
XYZxyz(7.8368, 13.6351, 3.1959)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F761A #611A76
analogous
#5D761A #2F761A #1A7633
triadic
#2F761A #1A2F76 #761A2F
tetradic
#2F761A #1A5D76 #611A76 #76331A
square
#2F761A #1A5D76 #611A76 #76331A
split-complementary
#2F761A #331A76 #761A5D
monochromatic
#0A1906 #1B440F #2F761A #43A825 #5BD337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F761A#FFFFFF#000000##FFFFFF
##2F761A1.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)
#796B07
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#277264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f761a;
/* rgb */ color: rgb(47, 118, 26);
/* oklch */ color: oklch(50.2% 0.143 139.7);
Tailwind
colors: {
  custom: {
    50: '#719e5e',
    500: '#2f761a',
    950: '#000000',
  },
}
SCSS
$custom: #2f761a;
$custom-light: #719e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f761a",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 106.304,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.14323,
    "h": 139.7
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#2F761A
secondary
#9341AB
accent
#41E7C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F761A

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

Preview Lab → · Contrast checker → · Palette generator →

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