#2C7511#2C7511

#2C7511 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.148 H 139.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2C7511
RGBrgb(44, 117, 17)
HSLhsl(104, 75%, 26%)
HSVhsv(104, 85%, 46%)
CMYKcmyk(62.4%, 0%, 85.5%, 54.1%)
CIE-LABlab(43.21, -40.74, 43.75)
CIE-LCHlch(43.21, 59.78, 132.96°)
OKLaboklab(49.7% -0.1122 0.0966)
OKLCHoklch(49.7% 0.148 139.3)
XYZxyz(7.5009, 13.2978, 2.7017)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7511 #5A1175
analogous
#5E7511 #2C7511 #117528
triadic
#2C7511 #112C75 #75112C
tetradic
#2C7511 #115E75 #5A1175 #752811
square
#2C7511 #115E75 #5A1175 #752811
split-complementary
#2C7511 #281175 #75115E
monochromatic
#0A1B04 #184009 #2C7511 #40AA19 #55DF22

Accessibility & contrast

On white

5.74
#2C7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2C7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7511
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7511#FFFFFF#000000##FFFFFF
##2C75111.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#237163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7511;
/* rgb */ color: rgb(44, 117, 17);
/* oklch */ color: oklch(49.7% 0.148 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9d59',
    500: '#2c7511',
    950: '#000000',
  },
}
SCSS
$custom: #2c7511;
$custom-light: #6f9d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7511",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 103.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.14808,
    "h": 139.3
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#2C7511
secondary
#8C36AC
accent
#37F1BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7511

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

Preview Lab → · Contrast checker → · Palette generator →

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