#2C881F#2C881F

#2C881F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.164 H 141.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2C881F
RGBrgb(44, 136, 31)
HSLhsl(113, 63%, 33%)
HSVhsv(113, 77%, 53%)
CMYKcmyk(67.6%, 0%, 77.2%, 46.7%)
CIE-LABlab(49.79, -46.82, 45.40)
CIE-LCHlch(49.79, 65.22, 135.89°)
OKLaboklab(55.17% -0.1278 0.1021)
OKLCHoklch(55.17% 0.164 141.4)
XYZxyz(10.0897, 18.2417, 4.2853)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C881F #7B1F88
analogous
#61881F #2C881F #1F8846
triadic
#2C881F #1F2C88 #881F2C
tetradic
#2C881F #1F6188 #7B1F88 #88461F
square
#2C881F #1F6188 #7B1F88 #88461F
split-complementary
#2C881F #461F88 #881F61
monochromatic
#0C2408 #1C5614 #2C881F #3CBA2A #5DD64B

Accessibility & contrast

On white

4.52
#2C881F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2C881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C881F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C881F#FFFFFF#000000##000000
##2C881F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#1A8474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c881f;
/* rgb */ color: rgb(44, 136, 31);
/* oklch */ color: oklch(55.2% 0.164 141.4);
Tailwind
colors: {
  custom: {
    50: '#73ac63',
    500: '#2c881f',
    950: '#000000',
  },
}
SCSS
$custom: #2c881f;
$custom-light: #73ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2c881f",
  "rgb": {
    "r": 44,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 112.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.16363,
    "h": 141.4
  },
  "luminance": 0.18243
}

Semantic roles & 50–950 ramp

primary
#2C881F
secondary
#AB4AB9
accent
#42E6D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C881F

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

Preview Lab → · Contrast checker → · Palette generator →

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