#2C7315#2C7315

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

Color values

HEX#2C7315
RGBrgb(44, 115, 21)
HSLhsl(105, 69%, 27%)
HSVhsv(105, 82%, 45%)
CMYKcmyk(61.7%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.54, -39.74, 41.86)
CIE-LCHlch(42.54, 57.72, 133.51°)
OKLaboklab(49.15% -0.1093 0.0933)
OKLCHoklch(49.15% 0.144 139.5)
XYZxyz(7.3045, 12.8504, 2.8048)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7315 #5C1573
analogous
#5B7315 #2C7315 #15732D
triadic
#2C7315 #152C73 #73152C
tetradic
#2C7315 #155B73 #5C1573 #732D15
square
#2C7315 #155B73 #5C1573 #732D15
split-complementary
#2C7315 #2D1573 #73155B
monochromatic
#0A1A05 #183F0C #2C7315 #40A71E #55D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7315#FFFFFF#000000##FFFFFF
##2C73151.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)
#766800
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#236F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7315;
/* rgb */ color: rgb(44, 115, 21);
/* oklch */ color: oklch(49.2% 0.144 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f9c5b',
    500: '#2c7315',
    950: '#000000',
  },
}
SCSS
$custom: #2c7315;
$custom-light: #6f9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7315",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 105.319,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.14369,
    "h": 139.5
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#2C7315
secondary
#8E3BA9
accent
#3CECC1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7315

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

Preview Lab → · Contrast checker → · Palette generator →

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