#2C7419#2C7419

#2C7419 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.143 H 140.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2C7419
RGBrgb(44, 116, 25)
HSLhsl(107, 65%, 28%)
HSVhsv(107, 78%, 45%)
CMYKcmyk(62.1%, 0%, 78.4%, 54.5%)
CIE-LABlab(42.91, -39.84, 40.80)
CIE-LCHlch(42.91, 57.02, 134.32°)
OKLaboklab(49.47% -0.1093 0.0917)
OKLCHoklch(49.47% 0.143 140)
XYZxyz(7.4592, 13.0958, 3.0542)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7419 #611974
analogous
#597419 #2C7419 #197434
triadic
#2C7419 #192C74 #74192C
tetradic
#2C7419 #195974 #611974 #743419
square
#2C7419 #195974 #611974 #743419
split-complementary
#2C7419 #341974 #741959
monochromatic
#0A1905 #19420E #2C7419 #3FA624 #55D334

Accessibility & contrast

On white

5.80
#2C7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2C7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7419
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7419#FFFFFF#000000##FFFFFF
##2C74191.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#237063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7419;
/* rgb */ color: rgb(44, 116, 25);
/* oklch */ color: oklch(49.5% 0.143 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2c7419',
    950: '#000000',
  },
}
SCSS
$custom: #2c7419;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7419",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 107.473,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.14268,
    "h": 140
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#2C7419
secondary
#9340A9
accent
#40E8C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7419

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

Preview Lab → · Contrast checker → · Palette generator →

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