#2F861C#2F861C

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

Color values

HEX#2F861C
RGBrgb(47, 134, 28)
HSLhsl(109, 65%, 32%)
HSVhsv(109, 79%, 53%)
CMYKcmyk(64.9%, 0%, 79.1%, 47.5%)
CIE-LABlab(49.18, -45.63, 45.89)
CIE-LCHlch(49.18, 64.71, 134.84°)
OKLaboklab(54.68% -0.125 0.1027)
OKLCHoklch(54.68% 0.162 140.6)
XYZxyz(9.9065, 17.7374, 4.0000)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F861C #731C86
analogous
#64861C #2F861C #1C863E
triadic
#2F861C #1C2F86 #861C2F
tetradic
#2F861C #1C6486 #731C86 #863E1C
square
#2F861C #1C6486 #731C86 #863E1C
split-complementary
#2F861C #3E1C86 #861C64
monochromatic
#0B2107 #1D5311 #2F861C #41B927 #5FD844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F861C#FFFFFF#000000##FFFFFF
##2F861C1.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)
#8A7902
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#218272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f861c;
/* rgb */ color: rgb(47, 134, 28);
/* oklch */ color: oklch(54.7% 0.162 140.6);
Tailwind
colors: {
  custom: {
    50: '#74aa61',
    500: '#2f861c',
    950: '#000000',
  },
}
SCSS
$custom: #2f861c;
$custom-light: #74aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f861c",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 109.245,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.16174,
    "h": 140.6
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#2F861C
secondary
#A445B9
accent
#3FE8CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F861C

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

Preview Lab → · Contrast checker → · Palette generator →

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