#2C7018#2C7018

#2C7018 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.138 H 139.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2C7018
RGBrgb(44, 112, 24)
HSLhsl(106, 65%, 27%)
HSVhsv(106, 79%, 44%)
CMYKcmyk(60.7%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.52, -38.35, 39.80)
CIE-LCHlch(41.52, 55.27, 133.94°)
OKLaboklab(48.31% -0.1054 0.0894)
OKLCHoklch(48.31% 0.138 139.7)
XYZxyz(6.9974, 12.1891, 2.8480)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7018 #5C1870
analogous
#587018 #2C7018 #187030
triadic
#2C7018 #182C70 #70182C
tetradic
#2C7018 #185870 #5C1870 #703018
square
#2C7018 #185870 #5C1870 #703018
split-complementary
#2C7018 #301870 #701858
monochromatic
#0A1905 #183E0D #2C7018 #40A223 #55D330

Accessibility & contrast

On white

6.11
#2C7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2C7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7018
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7018#FFFFFF#000000##FFFFFF
##2C70181.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c7018;
/* rgb */ color: rgb(44, 112, 24);
/* oklch */ color: oklch(48.3% 0.138 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a5c',
    500: '#2c7018',
    950: '#000000',
  },
}
SCSS
$custom: #2c7018;
$custom-light: #6e9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7018",
  "rgb": {
    "r": 44,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 106.364,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48314,
    "c": 0.13821,
    "h": 139.7
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#2C7018
secondary
#8E3EA5
accent
#40E8C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7018

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

Preview Lab → · Contrast checker → · Palette generator →

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