#2C7918#2C7918

#2C7918 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.149 H 140.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2C7918
RGBrgb(44, 121, 24)
HSLhsl(108, 67%, 28%)
HSVhsv(108, 80%, 47%)
CMYKcmyk(63.6%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.63, -41.82, 42.83)
CIE-LCHlch(44.63, 59.87, 134.32°)
OKLaboklab(50.89% -0.1147 0.0958)
OKLCHoklch(50.89% 0.149 140.2)
XYZxyz(8.0406, 14.2754, 3.1957)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7918 #651879
analogous
#5C7918 #2C7918 #187934
triadic
#2C7918 #182C79 #79182C
tetradic
#2C7918 #185C79 #651879 #793418
square
#2C7918 #185C79 #651879 #793418
split-complementary
#2C7918 #341879 #79185C
monochromatic
#091A05 #19460E #2C7918 #3FAC22 #56D735

Accessibility & contrast

On white

5.45
#2C7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2C7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7918
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7918#FFFFFF#000000##FFFFFF
##2C79181.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7918;
/* rgb */ color: rgb(44, 121, 24);
/* oklch */ color: oklch(50.9% 0.149 140.2);
Tailwind
colors: {
  custom: {
    50: '#70a05d',
    500: '#2c7918',
    950: '#000000',
  },
}
SCSS
$custom: #2c7918;
$custom-light: #70a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7918",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 107.629,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.14945,
    "h": 140.2
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#2C7918
secondary
#973FAE
accent
#3EEAC6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2C7918

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

Preview Lab → · Contrast checker → · Palette generator →

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