#2F861F#2F861F

#2F861F is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.160 H 140.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F861F
RGBrgb(47, 134, 31)
HSLhsl(111, 62%, 32%)
HSVhsv(111, 77%, 53%)
CMYKcmyk(64.9%, 0%, 76.9%, 47.5%)
CIE-LABlab(49.19, -45.41, 44.84)
CIE-LCHlch(49.19, 63.81, 135.36°)
OKLaboklab(54.71% -0.1242 0.1009)
OKLCHoklch(54.71% 0.16 140.9)
XYZxyz(9.9442, 17.7525, 4.1986)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F861F #761F86
analogous
#62861F #2F861F #1F8643
triadic
#2F861F #1F2F86 #861F2F
tetradic
#2F861F #1F6286 #761F86 #86431F
square
#2F861F #1F6286 #761F86 #86431F
split-complementary
#2F861F #431F86 #861F62
monochromatic
#0C2308 #1E5414 #2F861F #40B82A #60D54A

Accessibility & contrast

On white

4.61
#2F861F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F861F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F861F#FFFFFF#000000##FFFFFF
##2F861F1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7909
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#218272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f861f;
/* rgb */ color: rgb(47, 134, 31);
/* oklch */ color: oklch(54.7% 0.160 140.9);
Tailwind
colors: {
  custom: {
    50: '#74aa62',
    500: '#2f861f',
    950: '#000000',
  },
}
SCSS
$custom: #2f861f;
$custom-light: #74aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f861f",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 110.68,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.16005,
    "h": 140.9
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#2F861F
secondary
#A749B8
accent
#42E5CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F861F

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

Preview Lab → · Contrast checker → · Palette generator →

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