#2F861D#2F861D

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

Color values

HEX#2F861D
RGBrgb(47, 134, 29)
HSLhsl(110, 64%, 32%)
HSVhsv(110, 78%, 53%)
CMYKcmyk(64.9%, 0%, 78.4%, 47.5%)
CIE-LABlab(49.18, -45.56, 45.54)
CIE-LCHlch(49.18, 64.42, 135.01°)
OKLaboklab(54.69% -0.1247 0.1021)
OKLCHoklch(54.69% 0.161 140.7)
XYZxyz(9.9187, 17.7423, 4.0641)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F861D #741D86
analogous
#64861D #2F861D #1D863F
triadic
#2F861D #1D2F86 #861D2F
tetradic
#2F861D #1D6486 #741D86 #863F1D
square
#2F861D #1D6486 #741D86 #863F1D
split-complementary
#2F861D #3F1D86 #861D64
monochromatic
#0C2107 #1D5412 #2F861D #41B828 #5FD746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F861D#FFFFFF#000000##FFFFFF
##2F861D1.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)
#8A7904
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#218272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f861d;
/* rgb */ color: rgb(47, 134, 29);
/* oklch */ color: oklch(54.7% 0.161 140.7);
Tailwind
colors: {
  custom: {
    50: '#74aa61',
    500: '#2f861d',
    950: '#000000',
  },
}
SCSS
$custom: #2f861d;
$custom-light: #74aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f861d",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 109.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.1612,
    "h": 140.7
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#2F861D
secondary
#A546B9
accent
#40E7CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F861D

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

Preview Lab → · Contrast checker → · Palette generator →

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