#2C862E#2C862E

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

Color values

HEX#2C862E
RGBrgb(44, 134, 46)
HSLhsl(121, 51%, 35%)
HSVhsv(121, 67%, 53%)
CMYKcmyk(67.2%, 0%, 65.7%, 47.5%)
CIE-LABlab(49.23, -44.68, 38.60)
CIE-LCHlch(49.23, 59.04, 139.18°)
OKLaboklab(54.75% -0.1212 0.0898)
OKLCHoklch(54.75% 0.151 143.5)
XYZxyz(10.0563, 17.7819, 5.4865)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C862E #862C84
analogous
#57862C #2C862E #2C865B
triadic
#2C862E #2E2C86 #862E2C
tetradic
#2C862E #2C5786 #862C84 #865B2C
square
#2C862E #2C5786 #862C84 #865B2C
split-complementary
#2C862E #5B2C86 #862C57
monochromatic
#0E2A0E #1D581E #2C862E #3BB43E #61CB64

Accessibility & contrast

On white

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

On black

4.56
#2C862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C862E#FFFFFF#000000##FFFFFF
##2C862E1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#178274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c862e;
/* rgb */ color: rgb(44, 134, 46);
/* oklch */ color: oklch(54.7% 0.151 143.5);
Tailwind
colors: {
  custom: {
    50: '#71aa6b',
    500: '#2c862e',
    950: '#000000',
  },
}
SCSS
$custom: #2c862e;
$custom-light: #71aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c862e",
  "rgb": {
    "r": 44,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 121.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.15085,
    "h": 143.5
  },
  "luminance": 0.17783
}

Semantic roles & 50–950 ramp

primary
#2C862E
secondary
#B15CB0
accent
#4ED7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C862E

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

Preview Lab → · Contrast checker → · Palette generator →

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