#2C783F#2C783F

#2C783F is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.1% C 0.116 H 148.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2C783F
RGBrgb(44, 120, 63)
HSLhsl(135, 46%, 32%)
HSVhsv(135, 63%, 47%)
CMYKcmyk(63.3%, 0%, 47.5%, 52.9%)
CIE-LABlab(44.70, -36.71, 24.49)
CIE-LCHlch(44.70, 44.13, 146.29°)
OKLaboklab(51.08% -0.0992 0.06)
OKLCHoklch(51.08% 0.116 148.8)
XYZxyz(8.6518, 14.3265, 7.0110)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C783F #782C65
analogous
#3F782C #2C783F #2C7865
triadic
#2C783F #3F2C78 #783F2C
tetradic
#2C783F #2C3F78 #782C65 #78652C
square
#2C783F #2C3F78 #782C65 #78652C
split-complementary
#2C783F #652C78 #782C3F
monochromatic
#0B1E10 #1C4B27 #2C783F #3CA557 #5BC375

Accessibility & contrast

On white

5.43
#2C783F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2C783F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C783F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C783F#FFFFFF#000000##FFFFFF
##2C783F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3B
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#17766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c783f;
/* rgb */ color: rgb(44, 120, 63);
/* oklch */ color: oklch(51.1% 0.116 148.8);
Tailwind
colors: {
  custom: {
    50: '#6ea075',
    500: '#2c783f',
    950: '#000000',
  },
}
SCSS
$custom: #2c783f;
$custom-light: #6ea075;
$custom-dark: #000000;
JSON
{
  "hex": "#2c783f",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 63
  },
  "hsl": {
    "h": 135,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51078,
    "c": 0.11592,
    "h": 148.8
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#2C783F
secondary
#A95795
accent
#52B5D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2C783F

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

Preview Lab → · Contrast checker → · Palette generator →

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