#2D783E#2D783E

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

Color values

HEX#2D783E
RGBrgb(45, 120, 62)
HSLhsl(134, 45%, 32%)
HSVhsv(134, 63%, 47%)
CMYKcmyk(62.5%, 0%, 48.3%, 52.9%)
CIE-LABlab(44.71, -36.64, 25.07)
CIE-LCHlch(44.71, 44.40, 145.62°)
OKLaboklab(51.1% -0.099 0.0613)
OKLCHoklch(51.1% 0.116 148.3)
XYZxyz(8.6676, 14.3378, 6.8672)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D783E #782D67
analogous
#41782D #2D783E #2D7864
triadic
#2D783E #3E2D78 #783E2D
tetradic
#2D783E #2D4178 #782D67 #78642D
square
#2D783E #2D4178 #782D67 #78642D
split-complementary
#2D783E #642D78 #782D41
monochromatic
#0C1F10 #1C4B27 #2D783E #3EA555 #5DC274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D783E#FFFFFF#000000##FFFFFF
##2D783E1.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)
#796E39
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#19766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d783e;
/* rgb */ color: rgb(45, 120, 62);
/* oklch */ color: oklch(51.1% 0.116 148.3);
Tailwind
colors: {
  custom: {
    50: '#6ea074',
    500: '#2d783e',
    950: '#000000',
  },
}
SCSS
$custom: #2d783e;
$custom-light: #6ea074;
$custom-dark: #000000;
JSON
{
  "hex": "#2d783e",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 62
  },
  "hsl": {
    "h": 133.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.11647,
    "h": 148.3
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#2D783E
secondary
#A95896
accent
#53B8D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2D783E

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

Preview Lab → · Contrast checker → · Palette generator →

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