#2C782E#2C782E

#2C782E is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.132 H 143.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2C782E
RGBrgb(44, 120, 46)
HSLhsl(122, 46%, 32%)
HSVhsv(122, 63%, 47%)
CMYKcmyk(63.3%, 0%, 61.7%, 52.9%)
CIE-LABlab(44.47, -39.28, 33.20)
CIE-LCHlch(44.47, 51.43, 139.80°)
OKLaboklab(50.82% -0.1066 0.0782)
OKLCHoklch(50.82% 0.132 143.7)
XYZxyz(8.2478, 14.1649, 4.8837)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C782E #782C76
analogous
#50782C #2C782E #2C7854
triadic
#2C782E #2E2C78 #782E2C
tetradic
#2C782E #2C5078 #782C76 #78542C
square
#2C782E #2C5078 #782C76 #78542C
split-complementary
#2C782E #542C78 #782C50
monochromatic
#0B1E0C #1C4B1D #2C782E #3CA53F #5BC35E

Accessibility & contrast

On white

5.48
#2C782E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2C782E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C782E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C782E#FFFFFF#000000##FFFFFF
##2C782E1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#1D7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c782e;
/* rgb */ color: rgb(44, 120, 46);
/* oklch */ color: oklch(50.8% 0.132 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea069',
    500: '#2c782e',
    950: '#000000',
  },
}
SCSS
$custom: #2c782e;
$custom-light: #6ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#2c782e",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 121.579,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.13221,
    "h": 143.7
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#2C782E
secondary
#A957A7
accent
#52D3D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C782E

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

Preview Lab → · Contrast checker → · Palette generator →

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