#2F861B#2F861B

#2F861B is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.162 H 140.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F861B
RGBrgb(47, 134, 27)
HSLhsl(109, 66%, 32%)
HSVhsv(109, 80%, 53%)
CMYKcmyk(64.9%, 0%, 79.9%, 47.5%)
CIE-LABlab(49.17, -45.70, 46.22)
CIE-LCHlch(49.17, 65.00, 134.67°)
OKLaboklab(54.68% -0.1252 0.1032)
OKLCHoklch(54.68% 0.162 140.5)
XYZxyz(9.8947, 17.7327, 3.9380)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F861B #721B86
analogous
#65861B #2F861B #1B863D
triadic
#2F861B #1B2F86 #861B2F
tetradic
#2F861B #1B6586 #721B86 #863D1B
square
#2F861B #1B6586 #721B86 #863D1B
split-complementary
#2F861B #3D1B86 #861B65
monochromatic
#0B2006 #1D5311 #2F861B #41B925 #5FD942

Accessibility & contrast

On white

4.62
#2F861B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F861B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F861B#FFFFFF#000000##FFFFFF
##2F861B1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#218172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f861b;
/* rgb */ color: rgb(47, 134, 27);
/* oklch */ color: oklch(54.7% 0.162 140.5);
Tailwind
colors: {
  custom: {
    50: '#74aa60',
    500: '#2f861b',
    950: '#000000',
  },
}
SCSS
$custom: #2f861b;
$custom-light: #74aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f861b",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 108.785,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54677,
    "c": 0.16228,
    "h": 140.5
  },
  "luminance": 0.17734
}

Semantic roles & 50–950 ramp

primary
#2F861B
secondary
#A344B9
accent
#3EE9C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F861B

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

Preview Lab → · Contrast checker → · Palette generator →

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