#2C7314#2C7314

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

Color values

HEX#2C7314
RGBrgb(44, 115, 20)
HSLhsl(105, 70%, 26%)
HSVhsv(105, 83%, 45%)
CMYKcmyk(61.7%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.53, -39.80, 42.19)
CIE-LCHlch(42.53, 58.00, 133.33°)
OKLaboklab(49.15% -0.1095 0.0938)
OKLCHoklch(49.15% 0.144 139.4)
XYZxyz(7.2954, 12.8468, 2.7569)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7314 #5B1473
analogous
#5C7314 #2C7314 #14732C
triadic
#2C7314 #142C73 #73142C
tetradic
#2C7314 #145C73 #5B1473 #732C14
square
#2C7314 #145C73 #5B1473 #732C14
split-complementary
#2C7314 #2C1473 #73145C
monochromatic
#0A1A05 #183F0B #2C7314 #40A71D #55DA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7314#FFFFFF#000000##FFFFFF
##2C73141.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)
#236F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7314;
/* rgb */ color: rgb(44, 115, 20);
/* oklch */ color: oklch(49.1% 0.144 139.4);
Tailwind
colors: {
  custom: {
    50: '#6f9c5a',
    500: '#2c7314',
    950: '#000000',
  },
}
SCSS
$custom: #2c7314;
$custom-light: #6f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7314",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 104.842,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.14421,
    "h": 139.4
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#2C7314
secondary
#8D3AA9
accent
#3BEDC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7314

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

Preview Lab → · Contrast checker → · Palette generator →

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