#2C7819#2C7819

#2C7819 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.148 H 140.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2C7819
RGBrgb(44, 120, 25)
HSLhsl(108, 66%, 28%)
HSVhsv(108, 79%, 47%)
CMYKcmyk(63.3%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.29, -41.37, 42.15)
CIE-LCHlch(44.29, 59.06, 134.47°)
OKLaboklab(50.61% -0.1135 0.0945)
OKLCHoklch(50.61% 0.148 140.2)
XYZxyz(7.9303, 14.0379, 3.2112)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7819 #651978
analogous
#5B7819 #2C7819 #197835
triadic
#2C7819 #192C78 #78192C
tetradic
#2C7819 #195B78 #651978 #783519
square
#2C7819 #195B78 #651978 #783519
split-complementary
#2C7819 #351978 #78195B
monochromatic
#091905 #19450E #2C7819 #3FAB24 #56D536

Accessibility & contrast

On white

5.51
#2C7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7819
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7819#FFFFFF#000000##FFFFFF
##2C78191.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D04
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#217466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c7819;
/* rgb */ color: rgb(44, 120, 25);
/* oklch */ color: oklch(50.6% 0.148 140.2);
Tailwind
colors: {
  custom: {
    50: '#70a05d',
    500: '#2c7819',
    950: '#000000',
  },
}
SCSS
$custom: #2c7819;
$custom-light: #70a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7819",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 108,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.14767,
    "h": 140.2
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

primary
#2C7819
secondary
#9740AD
accent
#3FE8C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C7819

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

Preview Lab → · Contrast checker → · Palette generator →

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