#2C783A#2C783A

#2C783A is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.121 H 147.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2C783A
RGBrgb(44, 120, 58)
HSLhsl(131, 46%, 32%)
HSVhsv(131, 63%, 47%)
CMYKcmyk(63.3%, 0%, 51.7%, 52.9%)
CIE-LABlab(44.62, -37.55, 27.13)
CIE-LCHlch(44.62, 46.32, 144.15°)
OKLaboklab(50.99% -0.1015 0.0658)
OKLCHoklch(50.99% 0.121 147.1)
XYZxyz(8.5183, 14.2731, 6.3082)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C783A #782C6A
analogous
#44782C #2C783A #2C7860
triadic
#2C783A #3A2C78 #783A2C
tetradic
#2C783A #2C4478 #782C6A #78602C
square
#2C783A #2C4478 #782C6A #78602C
split-complementary
#2C783A #602C78 #782C44
monochromatic
#0B1E0F #1C4B24 #2C783A #3CA550 #5BC36E

Accessibility & contrast

On white

5.45
#2C783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2C783A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C783A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C783A#FFFFFF#000000##FFFFFF
##2C783A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E35
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#19756A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c783a;
/* rgb */ color: rgb(44, 120, 58);
/* oklch */ color: oklch(51.0% 0.121 147.1);
Tailwind
colors: {
  custom: {
    50: '#6ea071',
    500: '#2c783a',
    950: '#000000',
  },
}
SCSS
$custom: #2c783a;
$custom-light: #6ea071;
$custom-dark: #000000;
JSON
{
  "hex": "#2c783a",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 131.053,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.12093,
    "h": 147.1
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#2C783A
secondary
#A9579A
accent
#52BED6
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2C783A

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

Preview Lab → · Contrast checker → · Palette generator →

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