#2C7313#2C7313

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

Color values

HEX#2C7313
RGBrgb(44, 115, 19)
HSLhsl(104, 72%, 26%)
HSVhsv(104, 83%, 45%)
CMYKcmyk(61.7%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.53, -39.86, 42.51)
CIE-LCHlch(42.53, 58.27, 133.16°)
OKLaboklab(49.14% -0.1098 0.0943)
OKLCHoklch(49.14% 0.145 139.3)
XYZxyz(7.2867, 12.8433, 2.7110)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7313 #5A1373
analogous
#5C7313 #2C7313 #13732A
triadic
#2C7313 #132C73 #73132C
tetradic
#2C7313 #135C73 #5A1373 #732A13
square
#2C7313 #135C73 #5A1373 #732A13
split-complementary
#2C7313 #2A1373 #73135C
monochromatic
#0A1A04 #183E0A #2C7313 #40A81C #55DB25

Accessibility & contrast

On white

5.88
#2C7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7313
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7313#FFFFFF#000000##FFFFFF
##2C73131.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7313;
/* rgb */ color: rgb(44, 115, 19);
/* oklch */ color: oklch(49.1% 0.145 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9c5a',
    500: '#2c7313',
    950: '#000000',
  },
}
SCSS
$custom: #2c7313;
$custom-light: #6f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7313",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 104.375,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.14471,
    "h": 139.3
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#2C7313
secondary
#8C38AA
accent
#39EEBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7313

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

Preview Lab → · Contrast checker → · Palette generator →

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