#2D783D#2D783D

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

Color values

HEX#2D783D
RGBrgb(45, 120, 61)
HSLhsl(133, 45%, 32%)
HSVhsv(133, 63%, 47%)
CMYKcmyk(62.5%, 0%, 49.2%, 52.9%)
CIE-LABlab(44.70, -36.81, 25.60)
CIE-LCHlch(44.70, 44.84, 145.18°)
OKLaboklab(51.08% -0.0995 0.0624)
OKLCHoklch(51.08% 0.117 147.9)
XYZxyz(8.6404, 14.3269, 6.7240)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D783D #782D68
analogous
#42782D #2D783D #2D7863
triadic
#2D783D #3D2D78 #783D2D
tetradic
#2D783D #2D4278 #782D68 #78632D
square
#2D783D #2D4278 #782D68 #78632D
split-complementary
#2D783D #632D78 #782D42
monochromatic
#0C1F10 #1C4B26 #2D783D #3EA554 #5DC273

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D783D#FFFFFF#000000##FFFFFF
##2D783D1.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)
#796E38
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#1A766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d783d;
/* rgb */ color: rgb(45, 120, 61);
/* oklch */ color: oklch(51.1% 0.117 147.9);
Tailwind
colors: {
  custom: {
    50: '#6ea073',
    500: '#2d783d',
    950: '#000000',
  },
}
SCSS
$custom: #2d783d;
$custom-light: #6ea073;
$custom-dark: #000000;
JSON
{
  "hex": "#2d783d",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 61
  },
  "hsl": {
    "h": 132.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.11747,
    "h": 147.9
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#2D783D
secondary
#A95897
accent
#53B9D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2D783D

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

Preview Lab → · Contrast checker → · Palette generator →

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