#2C7411#2C7411

#2C7411 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.147 H 139.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2C7411
RGBrgb(44, 116, 17)
HSLhsl(104, 74%, 26%)
HSVhsv(104, 85%, 45%)
CMYKcmyk(62.1%, 0%, 85.3%, 54.5%)
CIE-LABlab(42.86, -40.36, 43.43)
CIE-LCHlch(42.86, 59.29, 132.90°)
OKLaboklab(49.42% -0.1112 0.0959)
OKLCHoklch(49.42% 0.147 139.2)
XYZxyz(7.3850, 13.0661, 2.6630)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7411 #591174
analogous
#5D7411 #2C7411 #117427
triadic
#2C7411 #112C74 #74112C
tetradic
#2C7411 #115D74 #591174 #742711
square
#2C7411 #115D74 #591174 #742711
split-complementary
#2C7411 #271174 #74115D
monochromatic
#0A1B04 #183F09 #2C7411 #40A919 #55DE21

Accessibility & contrast

On white

5.81
#2C7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2C7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7411
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7411#FFFFFF#000000##FFFFFF
##2C74111.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#237062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7411;
/* rgb */ color: rgb(44, 116, 17);
/* oklch */ color: oklch(49.4% 0.147 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f9d59',
    500: '#2c7411',
    950: '#000000',
  },
}
SCSS
$custom: #2c7411;
$custom-light: #6f9d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7411",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 103.636,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49415,
    "c": 0.14687,
    "h": 139.2
  },
  "luminance": 0.13067
}

Semantic roles & 50–950 ramp

primary
#2C7411
secondary
#8B36AB
accent
#37F1BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7411

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

Preview Lab → · Contrast checker → · Palette generator →

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