#2C861F#2C861F

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

Color values

HEX#2C861F
RGBrgb(44, 134, 31)
HSLhsl(112, 62%, 32%)
HSVhsv(112, 77%, 53%)
CMYKcmyk(67.2%, 0%, 76.9%, 47.5%)
CIE-LABlab(49.11, -46.10, 44.72)
CIE-LCHlch(49.11, 64.23, 135.87°)
OKLaboklab(54.61% -0.1259 0.1007)
OKLCHoklch(54.61% 0.161 141.3)
XYZxyz(9.8106, 17.6836, 4.1923)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C861F #791F86
analogous
#60861F #2C861F #1F8645
triadic
#2C861F #1F2C86 #861F2C
tetradic
#2C861F #1F6086 #791F86 #86451F
square
#2C861F #1F6086 #791F86 #86451F
split-complementary
#2C861F #451F86 #861F60
monochromatic
#0B2308 #1C5414 #2C861F #3CB82A #5CD54A

Accessibility & contrast

On white

4.63
#2C861F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2C861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C861F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C861F#FFFFFF#000000##FFFFFF
##2C861F1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#1B8272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c861f;
/* rgb */ color: rgb(44, 134, 31);
/* oklch */ color: oklch(54.6% 0.161 141.3);
Tailwind
colors: {
  custom: {
    50: '#72aa62',
    500: '#2c861f',
    950: '#000000',
  },
}
SCSS
$custom: #2c861f;
$custom-light: #72aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#2c861f",
  "rgb": {
    "r": 44,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 112.427,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.16124,
    "h": 141.3
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#2C861F
secondary
#AA49B8
accent
#42E5D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2C861F

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

Preview Lab → · Contrast checker → · Palette generator →

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