#2C7115#2C7115

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

Color values

HEX#2C7115
RGBrgb(44, 113, 21)
HSLhsl(105, 69%, 26%)
HSVhsv(105, 81%, 44%)
CMYKcmyk(61.1%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.84, -38.96, 41.20)
CIE-LCHlch(41.84, 56.70, 133.40°)
OKLaboklab(48.58% -0.1072 0.0919)
OKLCHoklch(48.58% 0.141 139.4)
XYZxyz(7.0789, 12.3992, 2.7296)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7115 #5A1571
analogous
#5A7115 #2C7115 #15712C
triadic
#2C7115 #152C71 #71152C
tetradic
#2C7115 #155A71 #5A1571 #712C15
square
#2C7115 #155A71 #5A1571 #712C15
split-complementary
#2C7115 #2C1571 #71155A
monochromatic
#0A1A05 #183D0B #2C7115 #40A51F #55D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7115#FFFFFF#000000##FFFFFF
##2C71151.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)
#746600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#246D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7115;
/* rgb */ color: rgb(44, 113, 21);
/* oklch */ color: oklch(48.6% 0.141 139.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a5b',
    500: '#2c7115',
    950: '#000000',
  },
}
SCSS
$custom: #2c7115;
$custom-light: #6e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7115",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 105,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.1412,
    "h": 139.4
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#2C7115
secondary
#8C3BA7
accent
#3CEBC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7115

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

Preview Lab → · Contrast checker → · Palette generator →

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