#2D781D#2D781D

#2D781D is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.145 H 140.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2D781D
RGBrgb(45, 120, 29)
HSLhsl(109, 61%, 29%)
HSVhsv(109, 76%, 47%)
CMYKcmyk(62.5%, 0%, 75.8%, 52.9%)
CIE-LABlab(44.35, -40.80, 40.71)
CIE-LCHlch(44.35, 57.64, 135.06°)
OKLaboklab(50.67% -0.1118 0.0921)
OKLCHoklch(50.67% 0.145 140.5)
XYZxyz(8.0201, 14.0788, 3.4570)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D781D #681D78
analogous
#5B781D #2D781D #1D783B
triadic
#2D781D #1D2D78 #781D2D
tetradic
#2D781D #1D5B78 #681D78 #783B1D
square
#2D781D #1D5B78 #681D78 #783B1D
split-complementary
#2D781D #3B1D78 #781D5B
monochromatic
#091906 #1B4711 #2D781D #3FA929 #58D13F

Accessibility & contrast

On white

5.50
#2D781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2D781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D781D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D781D#FFFFFF#000000##FFFFFF
##2D781D1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0C
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#227466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d781d;
/* rgb */ color: rgb(45, 120, 29);
/* oklch */ color: oklch(50.7% 0.145 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a05f',
    500: '#2d781d',
    950: '#000000',
  },
}
SCSS
$custom: #2d781d;
$custom-light: #70a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d781d",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 109.451,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.14481,
    "h": 140.5
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#2D781D
secondary
#9A45AC
accent
#44E4C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2D781D

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

Preview Lab → · Contrast checker → · Palette generator →

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