#2C862C#2C862C

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

Color values

HEX#2C862C
RGBrgb(44, 134, 44)
HSLhsl(120, 51%, 35%)
HSVhsv(120, 67%, 53%)
CMYKcmyk(67.2%, 0%, 67.2%, 47.5%)
CIE-LABlab(49.21, -44.90, 39.48)
CIE-LCHlch(49.21, 59.79, 138.67°)
OKLaboklab(54.73% -0.1219 0.0914)
OKLCHoklch(54.73% 0.152 143.1)
XYZxyz(10.0178, 17.7665, 5.2837)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C862C #862C86
analogous
#59862C #2C862C #2C8659
triadic
#2C862C #2C2C86 #862C2C
tetradic
#2C862C #2C5986 #862C86 #86592C
square
#2C862C #2C5986 #862C86 #86592C
split-complementary
#2C862C #592C86 #862C59
monochromatic
#0E2A0E #1D581D #2C862C #3BB43B #61CB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C862C#FFFFFF#000000##FFFFFF
##2C862C1.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)
#897921
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#178273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c862c;
/* rgb */ color: rgb(44, 134, 44);
/* oklch */ color: oklch(54.7% 0.152 143.1);
Tailwind
colors: {
  custom: {
    50: '#72aa69',
    500: '#2c862c',
    950: '#000000',
  },
}
SCSS
$custom: #2c862c;
$custom-light: #72aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#2c862c",
  "rgb": {
    "r": 44,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.1524,
    "h": 143.1
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#2C862C
secondary
#B15CB1
accent
#4EDADA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C862C

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

Preview Lab → · Contrast checker → · Palette generator →

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