#2C782D#2C782D

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

Color values

HEX#2C782D
RGBrgb(44, 120, 45)
HSLhsl(121, 46%, 32%)
HSVhsv(121, 63%, 47%)
CMYKcmyk(63.3%, 0%, 62.5%, 52.9%)
CIE-LABlab(44.46, -39.40, 33.68)
CIE-LCHlch(44.46, 51.83, 139.48°)
OKLaboklab(50.8% -0.107 0.0792)
OKLCHoklch(50.8% 0.133 143.5)
XYZxyz(8.2284, 14.1571, 4.7811)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C782D #782C77
analogous
#51782C #2C782D #2C7853
triadic
#2C782D #2D2C78 #782D2C
tetradic
#2C782D #2C5178 #782C77 #78532C
square
#2C782D #2C5178 #782C77 #78532C
split-complementary
#2C782D #532C78 #782C51
monochromatic
#0B1E0B #1C4B1C #2C782D #3CA53E #5BC35D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C782D#FFFFFF#000000##FFFFFF
##2C782D1.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)
#7A6D25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#1D7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c782d;
/* rgb */ color: rgb(44, 120, 45);
/* oklch */ color: oklch(50.8% 0.133 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ea069',
    500: '#2c782d',
    950: '#000000',
  },
}
SCSS
$custom: #2c782d;
$custom-light: #6ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#2c782d",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 120.789,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.13308,
    "h": 143.5
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#2C782D
secondary
#A957A8
accent
#52D4D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2C782D

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

Preview Lab → · Contrast checker → · Palette generator →

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