#2C7518#2C7518

#2C7518 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.145 H 140.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2C7518
RGBrgb(44, 117, 24)
HSLhsl(107, 66%, 28%)
HSVhsv(107, 79%, 46%)
CMYKcmyk(62.4%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.25, -40.30, 41.50)
CIE-LCHlch(43.25, 57.84, 134.16°)
OKLaboklab(49.74% -0.1106 0.093)
OKLCHoklch(49.74% 0.145 140)
XYZxyz(7.5645, 13.3233, 3.0370)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7518 #611875
analogous
#5A7518 #2C7518 #187533
triadic
#2C7518 #182C75 #75182C
tetradic
#2C7518 #185A75 #611875 #753318
square
#2C7518 #185A75 #611875 #753318
split-complementary
#2C7518 #331875 #75185A
monochromatic
#0A1905 #19420E #2C7518 #3FA822 #55D532

Accessibility & contrast

On white

5.73
#2C7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2C7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7518
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7518#FFFFFF#000000##FFFFFF
##2C75181.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#227163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7518;
/* rgb */ color: rgb(44, 117, 24);
/* oklch */ color: oklch(49.7% 0.145 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d5d',
    500: '#2c7518',
    950: '#000000',
  },
}
SCSS
$custom: #2c7518;
$custom-light: #6f9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7518",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 107.097,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.14452,
    "h": 140
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#2C7518
secondary
#933FAA
accent
#3FE9C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7518

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

Preview Lab → · Contrast checker → · Palette generator →

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