#2C7118#2C7118

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

Color values

HEX#2C7118
RGBrgb(44, 113, 24)
HSLhsl(107, 65%, 27%)
HSVhsv(107, 79%, 44%)
CMYKcmyk(61.1%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.86, -38.75, 40.14)
CIE-LCHlch(41.86, 55.79, 133.99°)
OKLaboklab(48.6% -0.1065 0.0901)
OKLCHoklch(48.6% 0.139 139.8)
XYZxyz(7.1084, 12.4110, 2.8850)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7118 #5D1871
analogous
#597118 #2C7118 #187131
triadic
#2C7118 #182C71 #71182C
tetradic
#2C7118 #185971 #5D1871 #713118
square
#2C7118 #185971 #5D1871 #713118
split-complementary
#2C7118 #311871 #711859
monochromatic
#0A1905 #183F0D #2C7118 #40A323 #55D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7118#FFFFFF#000000##FFFFFF
##2C71181.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)
#746605
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#246D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7118;
/* rgb */ color: rgb(44, 113, 24);
/* oklch */ color: oklch(48.6% 0.139 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e9a5c',
    500: '#2c7118',
    950: '#000000',
  },
}
SCSS
$custom: #2c7118;
$custom-light: #6e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7118",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 106.517,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.486,
    "c": 0.13948,
    "h": 139.8
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#2C7118
secondary
#8F3EA6
accent
#40E8C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7118

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

Preview Lab → · Contrast checker → · Palette generator →

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