#2C7519#2C7519

#2C7519 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.144 H 140.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2C7519
RGBrgb(44, 117, 25)
HSLhsl(108, 65%, 28%)
HSVhsv(108, 79%, 46%)
CMYKcmyk(62.4%, 0%, 78.6%, 54.1%)
CIE-LABlab(43.25, -40.23, 41.14)
CIE-LCHlch(43.25, 57.54, 134.36°)
OKLaboklab(49.75% -0.1104 0.0924)
OKLCHoklch(49.75% 0.144 140.1)
XYZxyz(7.5751, 13.3275, 3.0928)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7519 #621975
analogous
#5A7519 #2C7519 #197534
triadic
#2C7519 #192C75 #75192C
tetradic
#2C7519 #195A75 #621975 #753419
square
#2C7519 #195A75 #621975 #753419
split-complementary
#2C7519 #341975 #75195A
monochromatic
#091905 #19430E #2C7519 #3FA724 #55D435

Accessibility & contrast

On white

5.73
#2C7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2C7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7519
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7519#FFFFFF#000000##FFFFFF
##2C75191.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A05
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#227163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7519;
/* rgb */ color: rgb(44, 117, 25);
/* oklch */ color: oklch(49.8% 0.144 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2c7519',
    950: '#000000',
  },
}
SCSS
$custom: #2c7519;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7519",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 107.609,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49752,
    "c": 0.14393,
    "h": 140.1
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#2C7519
secondary
#9440AA
accent
#40E8C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7519

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

Preview Lab → · Contrast checker → · Palette generator →

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