#2D782C#2D782C

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

Color values

HEX#2D782C
RGBrgb(45, 120, 44)
HSLhsl(119, 46%, 32%)
HSVhsv(119, 63%, 47%)
CMYKcmyk(62.5%, 0%, 63.3%, 52.9%)
CIE-LABlab(44.48, -39.28, 34.20)
CIE-LCHlch(44.48, 52.08, 138.95°)
OKLaboklab(50.83% -0.1067 0.0802)
OKLCHoklch(50.83% 0.134 143.1)
XYZxyz(8.2528, 14.1719, 4.6829)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D782C #772C78
analogous
#53782C #2D782C #2C7851
triadic
#2D782C #2C2D78 #782C2D
tetradic
#2D782C #2C5378 #772C78 #78512C
square
#2D782C #2C5378 #772C78 #78512C
split-complementary
#2D782C #512C78 #782C53
monochromatic
#0B1E0B #1C4B1C #2D782C #3EA53C #5DC35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D782C#FFFFFF#000000##FFFFFF
##2D782C1.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)
#1F7568
Achromatopsia (no color)
#696969

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#2D782C
secondary
#A857A9
accent
#52D6D4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D782C

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

Preview Lab → · Contrast checker → · Palette generator →

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