#2D781C#2D781C

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

Color values

HEX#2D781C
RGBrgb(45, 120, 28)
HSLhsl(109, 62%, 29%)
HSVhsv(109, 77%, 47%)
CMYKcmyk(62.5%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.34, -40.89, 41.10)
CIE-LCHlch(44.34, 57.97, 134.85°)
OKLaboklab(50.67% -0.1121 0.0927)
OKLCHoklch(50.67% 0.145 140.4)
XYZxyz(8.0079, 14.0739, 3.3929)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D781C #671C78
analogous
#5B781C #2D781C #1C7839
triadic
#2D781C #1C2D78 #781C2D
tetradic
#2D781C #1C5B78 #671C78 #78391C
square
#2D781C #1C5B78 #671C78 #78391C
split-complementary
#2D781C #391C78 #781C5B
monochromatic
#091906 #1A4610 #2D781C #40AA28 #58D23D

Accessibility & contrast

On white

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

On black

3.81
#2D781C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D781C#FFFFFF#000000##FFFFFF
##2D781C1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d781c;
/* rgb */ color: rgb(45, 120, 28);
/* oklch */ color: oklch(50.7% 0.145 140.4);
Tailwind
colors: {
  custom: {
    50: '#70a05f',
    500: '#2d781c',
    950: '#000000',
  },
}
SCSS
$custom: #2d781c;
$custom-light: #70a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d781c",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 108.913,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.14544,
    "h": 140.4
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#2D781C
secondary
#9944AC
accent
#43E5C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2D781C

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

Preview Lab → · Contrast checker → · Palette generator →

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