#2C782C#2C782C

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

Color values

HEX#2C782C
RGBrgb(44, 120, 44)
HSLhsl(120, 46%, 32%)
HSVhsv(120, 63%, 47%)
CMYKcmyk(63.3%, 0%, 63.3%, 52.9%)
CIE-LABlab(44.45, -39.53, 34.16)
CIE-LCHlch(44.45, 52.24, 139.17°)
OKLaboklab(50.79% -0.1074 0.0801)
OKLCHoklch(50.79% 0.134 143.3)
XYZxyz(8.2093, 14.1495, 4.6809)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C782C #782C78
analogous
#52782C #2C782C #2C7852
triadic
#2C782C #2C2C78 #782C2C
tetradic
#2C782C #2C5278 #782C78 #78522C
square
#2C782C #2C5278 #782C78 #78522C
split-complementary
#2C782C #522C78 #782C52
monochromatic
#0B1E0B #1C4B1C #2C782C #3CA53C #5BC35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C782C#FFFFFF#000000##FFFFFF
##2C782C1.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)
#7B6D24
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#1E7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c782c;
/* rgb */ color: rgb(44, 120, 44);
/* oklch */ color: oklch(50.8% 0.134 143.3);
Tailwind
colors: {
  custom: {
    50: '#6fa068',
    500: '#2c782c',
    950: '#000000',
  },
}
SCSS
$custom: #2c782c;
$custom-light: #6fa068;
$custom-dark: #000000;
JSON
{
  "hex": "#2c782c",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.13395,
    "h": 143.3
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#2C782C
secondary
#A957A9
accent
#52D6D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C782C

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

Preview Lab → · Contrast checker → · Palette generator →

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