#2D783F#2D783F

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

Color values

HEX#2D783F
RGBrgb(45, 120, 63)
HSLhsl(134, 45%, 32%)
HSVhsv(134, 63%, 47%)
CMYKcmyk(62.5%, 0%, 47.5%, 52.9%)
CIE-LABlab(44.73, -36.47, 24.54)
CIE-LCHlch(44.73, 43.95, 146.07°)
OKLaboklab(51.11% -0.0986 0.0601)
OKLCHoklch(51.11% 0.115 148.6)
XYZxyz(8.6953, 14.3489, 7.0130)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D783F #782D66
analogous
#40782D #2D783F #2D7865
triadic
#2D783F #3F2D78 #783F2D
tetradic
#2D783F #2D4078 #782D66 #78652D
square
#2D783F #2D4078 #782D66 #78652D
split-complementary
#2D783F #652D78 #782D40
monochromatic
#0C1F10 #1C4B28 #2D783F #3EA556 #5DC275

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D783F#FFFFFF#000000##FFFFFF
##2D783F1.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)
#19766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d783f;
/* rgb */ color: rgb(45, 120, 63);
/* oklch */ color: oklch(51.1% 0.115 148.6);
Tailwind
colors: {
  custom: {
    50: '#6ea075',
    500: '#2d783f',
    950: '#000000',
  },
}
SCSS
$custom: #2d783f;
$custom-light: #6ea075;
$custom-dark: #000000;
JSON
{
  "hex": "#2d783f",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 63
  },
  "hsl": {
    "h": 134.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51113,
    "c": 0.11545,
    "h": 148.6
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#2D783F
secondary
#A95895
accent
#53B6D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2D783F

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

Preview Lab → · Contrast checker → · Palette generator →

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