#2C7318#2C7318

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

Color values

HEX#2C7318
RGBrgb(44, 115, 24)
HSLhsl(107, 65%, 27%)
HSVhsv(107, 79%, 45%)
CMYKcmyk(61.7%, 0%, 79.1%, 54.9%)
CIE-LABlab(42.55, -39.53, 40.82)
CIE-LCHlch(42.55, 56.82, 134.08°)
OKLaboklab(49.17% -0.1086 0.0915)
OKLCHoklch(49.17% 0.142 139.9)
XYZxyz(7.3340, 12.8622, 2.9602)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7318 #5F1873
analogous
#5A7318 #2C7318 #187331
triadic
#2C7318 #182C73 #73182C
tetradic
#2C7318 #185A73 #5F1873 #733118
square
#2C7318 #185A73 #5F1873 #733118
split-complementary
#2C7318 #311873 #73185A
monochromatic
#0A1905 #19400D #2C7318 #3FA623 #55D431

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7318#FFFFFF#000000##FFFFFF
##2C73181.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)
#766804
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#236F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c7318;
/* rgb */ color: rgb(44, 115, 24);
/* oklch */ color: oklch(49.2% 0.142 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9c5c',
    500: '#2c7318',
    950: '#000000',
  },
}
SCSS
$custom: #2c7318;
$custom-light: #6f9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7318",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 106.813,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.14201,
    "h": 139.9
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#2C7318
secondary
#913FA8
accent
#3FE8C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7318

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

Preview Lab → · Contrast checker → · Palette generator →

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