#2C7119#2C7119

#2C7119 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.139 H 139.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2C7119
RGBrgb(44, 113, 25)
HSLhsl(107, 64%, 27%)
HSVhsv(107, 78%, 44%)
CMYKcmyk(61.1%, 0%, 77.9%, 55.7%)
CIE-LABlab(41.87, -38.67, 39.77)
CIE-LCHlch(41.87, 55.47, 134.20°)
OKLaboklab(48.61% -0.1062 0.0895)
OKLCHoklch(48.61% 0.139 139.9)
XYZxyz(7.1190, 12.4153, 2.9408)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7119 #5E1971
analogous
#587119 #2C7119 #197132
triadic
#2C7119 #192C71 #71192C
tetradic
#2C7119 #195871 #5E1971 #713219
square
#2C7119 #195871 #5E1971 #713219
split-complementary
#2C7119 #321971 #711958
monochromatic
#0A1906 #183F0E #2C7119 #40A324 #55D233

Accessibility & contrast

On white

6.03
#2C7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7119
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7119#FFFFFF#000000##FFFFFF
##2C71191.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#236D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7119;
/* rgb */ color: rgb(44, 113, 25);
/* oklch */ color: oklch(48.6% 0.139 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e9a5c',
    500: '#2c7119',
    950: '#000000',
  },
}
SCSS
$custom: #2c7119;
$custom-light: #6e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7119",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 107.045,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.13888,
    "h": 139.9
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#2C7119
secondary
#9040A6
accent
#41E7C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7119

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

Preview Lab → · Contrast checker → · Palette generator →

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