#2C7311#2C7311

#2C7311 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.146 H 139.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2C7311
RGBrgb(44, 115, 17)
HSLhsl(103, 74%, 26%)
HSVhsv(103, 85%, 45%)
CMYKcmyk(61.7%, 0%, 85.2%, 54.9%)
CIE-LABlab(42.52, -39.98, 43.11)
CIE-LCHlch(42.52, 58.80, 132.84°)
OKLaboklab(49.13% -0.1102 0.0953)
OKLCHoklch(49.13% 0.146 139.2)
XYZxyz(7.2703, 12.8368, 2.6248)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7311 #581173
analogous
#5D7311 #2C7311 #117327
triadic
#2C7311 #112C73 #73112C
tetradic
#2C7311 #115D73 #581173 #732711
square
#2C7311 #115D73 #581173 #732711
split-complementary
#2C7311 #271173 #73115D
monochromatic
#0A1B04 #183E09 #2C7311 #40A819 #55DE21

Accessibility & contrast

On white

5.89
#2C7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2C7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7311
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7311#FFFFFF#000000##FFFFFF
##2C73111.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#246F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7311;
/* rgb */ color: rgb(44, 115, 17);
/* oklch */ color: oklch(49.1% 0.146 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f9c59',
    500: '#2c7311',
    950: '#000000',
  },
}
SCSS
$custom: #2c7311;
$custom-light: #6f9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7311",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 103.469,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.14566,
    "h": 139.2
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7311

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

Preview Lab → · Contrast checker → · Palette generator →

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