#2D782E#2D782E

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

Color values

HEX#2D782E
RGBrgb(45, 120, 46)
HSLhsl(121, 45%, 32%)
HSVhsv(121, 63%, 47%)
CMYKcmyk(62.5%, 0%, 61.7%, 52.9%)
CIE-LABlab(44.50, -39.03, 33.24)
CIE-LCHlch(44.50, 51.26, 139.58°)
OKLaboklab(50.85% -0.106 0.0783)
OKLCHoklch(50.85% 0.132 143.5)
XYZxyz(8.2913, 14.1873, 4.8857)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D782E #782D77
analogous
#52782D #2D782E #2D7854
triadic
#2D782E #2E2D78 #782E2D
tetradic
#2D782E #2D5278 #782D77 #78542D
square
#2D782E #2D5278 #782D77 #78542D
split-complementary
#2D782E #542D78 #782D52
monochromatic
#0C1F0C #1C4B1D #2D782E #3EA53F #5DC25E

Accessibility & contrast

On white

5.47
#2D782E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2D782E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D782E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D782E#FFFFFF#000000##FFFFFF
##2D782E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#1F7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d782e;
/* rgb */ color: rgb(45, 120, 46);
/* oklch */ color: oklch(50.8% 0.132 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fa069',
    500: '#2d782e',
    950: '#000000',
  },
}
SCSS
$custom: #2d782e;
$custom-light: #6fa069;
$custom-dark: #000000;
JSON
{
  "hex": "#2d782e",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 120.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5085,
    "c": 0.13177,
    "h": 143.5
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#2D782E
secondary
#A958A8
accent
#53D3D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D782E

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

Preview Lab → · Contrast checker → · Palette generator →

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