#2C7418#2C7418

#2C7418 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.143 H 139.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2C7418
RGBrgb(44, 116, 24)
HSLhsl(107, 66%, 27%)
HSVhsv(107, 79%, 45%)
CMYKcmyk(62.1%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.90, -39.91, 41.16)
CIE-LCHlch(42.90, 57.33, 134.12°)
OKLaboklab(49.46% -0.1096 0.0923)
OKLCHoklch(49.46% 0.143 139.9)
XYZxyz(7.4486, 13.0915, 2.9984)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7418 #601874
analogous
#5A7418 #2C7418 #187432
triadic
#2C7418 #182C74 #74182C
tetradic
#2C7418 #185A74 #601874 #743218
square
#2C7418 #185A74 #601874 #743218
split-complementary
#2C7418 #321874 #74185A
monochromatic
#0A1905 #19410E #2C7418 #3FA722 #55D532

Accessibility & contrast

On white

5.80
#2C7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2C7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7418
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7418#FFFFFF#000000##FFFFFF
##2C74181.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#237063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c7418;
/* rgb */ color: rgb(44, 116, 24);
/* oklch */ color: oklch(49.5% 0.143 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9d5c',
    500: '#2c7418',
    950: '#000000',
  },
}
SCSS
$custom: #2c7418;
$custom-light: #6f9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7418",
  "rgb": {
    "r": 44,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 106.957,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.14326,
    "h": 139.9
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#2C7418
secondary
#923FA9
accent
#3FE9C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7418

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

Preview Lab → · Contrast checker → · Palette generator →

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