#2C7019#2C7019

#2C7019 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.138 H 139.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2C7019
RGBrgb(44, 112, 25)
HSLhsl(107, 64%, 27%)
HSVhsv(107, 78%, 44%)
CMYKcmyk(60.7%, 0%, 77.7%, 56.1%)
CIE-LABlab(41.52, -38.28, 39.42)
CIE-LCHlch(41.52, 54.95, 134.16°)
OKLaboklab(48.32% -0.1051 0.0888)
OKLCHoklch(48.32% 0.138 139.8)
XYZxyz(7.0080, 12.1934, 2.9038)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7019 #5D1970
analogous
#587019 #2C7019 #197032
triadic
#2C7019 #192C70 #70192C
tetradic
#2C7019 #195870 #5D1970 #703219
square
#2C7019 #195870 #5D1970 #703219
split-complementary
#2C7019 #321970 #701958
monochromatic
#0A1906 #183E0E #2C7019 #40A224 #55D132

Accessibility & contrast

On white

6.11
#2C7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2C7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7019
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7019#FFFFFF#000000##FFFFFF
##2C70191.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c7019;
/* rgb */ color: rgb(44, 112, 25);
/* oklch */ color: oklch(48.3% 0.138 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e9a5c',
    500: '#2c7019',
    950: '#000000',
  },
}
SCSS
$custom: #2c7019;
$custom-light: #6e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7019",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 106.897,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.1376,
    "h": 139.8
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#2C7019
secondary
#8F40A5
accent
#41E7C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7019

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

Preview Lab → · Contrast checker → · Palette generator →

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