#2C7618#2C7618

#2C7618 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.146 H 140.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2C7618
RGBrgb(44, 118, 24)
HSLhsl(107, 66%, 28%)
HSVhsv(107, 80%, 46%)
CMYKcmyk(62.7%, 0%, 79.7%, 53.7%)
CIE-LABlab(43.59, -40.68, 41.83)
CIE-LCHlch(43.59, 58.35, 134.20°)
OKLaboklab(50.03% -0.1117 0.0937)
OKLCHoklch(50.03% 0.146 140)
XYZxyz(7.6817, 13.5576, 3.0760)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7618 #621876
analogous
#5B7618 #2C7618 #187633
triadic
#2C7618 #182C76 #76182C
tetradic
#2C7618 #185B76 #621876 #763318
square
#2C7618 #185B76 #621876 #763318
split-complementary
#2C7618 #331876 #76185B
monochromatic
#091905 #19430E #2C7618 #3FA922 #56D533

Accessibility & contrast

On white

5.66
#2C7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2C7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7618
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7618#FFFFFF#000000##FFFFFF
##2C76181.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#227264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c7618;
/* rgb */ color: rgb(44, 118, 24);
/* oklch */ color: oklch(50.0% 0.146 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9e5d',
    500: '#2c7618',
    950: '#000000',
  },
}
SCSS
$custom: #2c7618;
$custom-light: #6f9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7618",
  "rgb": {
    "r": 44,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 107.234,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.14576,
    "h": 140
  },
  "luminance": 0.13558
}

Semantic roles & 50–950 ramp

primary
#2C7618
secondary
#943FAB
accent
#3FE9C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7618

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

Preview Lab → · Contrast checker → · Palette generator →

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