#2D782D#2D782D

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

Color values

HEX#2D782D
RGBrgb(45, 120, 45)
HSLhsl(120, 45%, 32%)
HSVhsv(120, 63%, 47%)
CMYKcmyk(62.5%, 0%, 62.5%, 52.9%)
CIE-LABlab(44.49, -39.15, 33.72)
CIE-LCHlch(44.49, 51.67, 139.26°)
OKLaboklab(50.84% -0.1064 0.0792)
OKLCHoklch(50.84% 0.133 143.3)
XYZxyz(8.2718, 14.1795, 4.7831)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D782D #782D78
analogous
#53782D #2D782D #2D7853
triadic
#2D782D #2D2D78 #782D2D
tetradic
#2D782D #2D5378 #782D78 #78532D
square
#2D782D #2D5378 #782D78 #78532D
split-complementary
#2D782D #532D78 #782D53
monochromatic
#0C1F0C #1C4B1C #2D782D #3EA53E #5DC25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D782D#FFFFFF#000000##FFFFFF
##2D782D1.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)
#7A6D25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#1F7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d782d;
/* rgb */ color: rgb(45, 120, 45);
/* oklch */ color: oklch(50.8% 0.133 143.3);
Tailwind
colors: {
  custom: {
    50: '#6fa069',
    500: '#2d782d',
    950: '#000000',
  },
}
SCSS
$custom: #2d782d;
$custom-light: #6fa069;
$custom-dark: #000000;
JSON
{
  "hex": "#2d782d",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.13264,
    "h": 143.3
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#2D782D
secondary
#A958A9
accent
#53D5D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D782D

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

Preview Lab → · Contrast checker → · Palette generator →

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