#2F761B#2F761B

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

Color values

HEX#2F761B
RGBrgb(47, 118, 27)
HSLhsl(107, 63%, 28%)
HSVhsv(107, 77%, 46%)
CMYKcmyk(60.2%, 0%, 77.1%, 53.7%)
CIE-LABlab(43.71, -39.65, 40.87)
CIE-LCHlch(43.71, 56.95, 134.13°)
OKLaboklab(50.16% -0.1089 0.0921)
OKLCHoklch(50.16% 0.143 139.8)
XYZxyz(7.8482, 13.6397, 3.2558)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F761B #621B76
analogous
#5C761B #2F761B #1B7634
triadic
#2F761B #1B2F76 #761B2F
tetradic
#2F761B #1B5C76 #621B76 #76341B
square
#2F761B #1B5C76 #621B76 #76341B
split-complementary
#2F761B #341B76 #761B5C
monochromatic
#0A1906 #1B4410 #2F761B #43A826 #5BD23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F761B#FFFFFF#000000##FFFFFF
##2F761B1.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)
#796B09
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#267264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f761b;
/* rgb */ color: rgb(47, 118, 27);
/* oklch */ color: oklch(50.2% 0.143 139.8);
Tailwind
colors: {
  custom: {
    50: '#719e5e',
    500: '#2f761b',
    950: '#000000',
  },
}
SCSS
$custom: #2f761b;
$custom-light: #719e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f761b",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 106.813,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.14263,
    "h": 139.8
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#2F761B
secondary
#9442AA
accent
#42E6C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F761B

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

Preview Lab → · Contrast checker → · Palette generator →

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