#2C7719#2C7719

#2C7719 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.146 H 140.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2C7719
RGBrgb(44, 119, 25)
HSLhsl(108, 65%, 28%)
HSVhsv(108, 79%, 47%)
CMYKcmyk(63%, 0%, 79%, 53.3%)
CIE-LABlab(43.94, -40.99, 41.81)
CIE-LCHlch(43.94, 58.56, 134.43°)
OKLaboklab(50.32% -0.1125 0.0938)
OKLCHoklch(50.32% 0.146 140.2)
XYZxyz(7.8106, 13.7986, 3.1713)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7719 #641977
analogous
#5B7719 #2C7719 #197735
triadic
#2C7719 #192C77 #77192C
tetradic
#2C7719 #195B77 #641977 #773519
square
#2C7719 #195B77 #641977 #773519
split-complementary
#2C7719 #351977 #77195B
monochromatic
#091905 #19440E #2C7719 #3FAA24 #56D536

Accessibility & contrast

On white

5.59
#2C7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2C7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7719
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7719#FFFFFF#000000##FFFFFF
##2C77191.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C04
Deuteranopia (green-blind)
#716623
Tritanopia (blue-blind)
#227365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c7719;
/* rgb */ color: rgb(44, 119, 25);
/* oklch */ color: oklch(50.3% 0.146 140.2);
Tailwind
colors: {
  custom: {
    50: '#6f9f5d',
    500: '#2c7719',
    950: '#000000',
  },
}
SCSS
$custom: #2c7719;
$custom-light: #6f9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7719",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 107.872,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.14642,
    "h": 140.2
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#2C7719
secondary
#9640AC
accent
#40E8C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7719

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

Preview Lab → · Contrast checker → · Palette generator →

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