#2C7919#2C7919

#2C7919 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.149 H 140.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2C7919
RGBrgb(44, 121, 25)
HSLhsl(108, 66%, 29%)
HSVhsv(108, 79%, 47%)
CMYKcmyk(63.6%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.63, -41.75, 42.49)
CIE-LCHlch(44.63, 59.57, 134.50°)
OKLaboklab(50.89% -0.1145 0.0952)
OKLCHoklch(50.89% 0.149 140.3)
XYZxyz(8.0512, 14.2796, 3.2515)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7919 #661979
analogous
#5C7919 #2C7919 #197936
triadic
#2C7919 #192C79 #79192C
tetradic
#2C7919 #195C79 #661979 #793619
square
#2C7919 #195C79 #661979 #793619
split-complementary
#2C7919 #361979 #79195C
monochromatic
#091905 #1A460F #2C7919 #3EAC23 #56D637

Accessibility & contrast

On white

5.45
#2C7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2C7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7919
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7919#FFFFFF#000000##FFFFFF
##2C79191.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7919;
/* rgb */ color: rgb(44, 121, 25);
/* oklch */ color: oklch(50.9% 0.149 140.3);
Tailwind
colors: {
  custom: {
    50: '#70a05e',
    500: '#2c7919',
    950: '#000000',
  },
}
SCSS
$custom: #2c7919;
$custom-light: #70a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7919",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 108.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.1489,
    "h": 140.3
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#2C7919
secondary
#9840AE
accent
#3FE9C7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C7919

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

Preview Lab → · Contrast checker → · Palette generator →

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