#2C6E18#2C6E18

#2C6E18 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.136 H 139.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2C6E18
RGBrgb(44, 110, 24)
HSLhsl(106, 64%, 26%)
HSVhsv(106, 78%, 43%)
CMYKcmyk(60%, 0%, 78.2%, 56.9%)
CIE-LABlab(40.82, -37.56, 39.11)
CIE-LCHlch(40.82, 54.22, 133.84°)
OKLaboklab(47.74% -0.1033 0.088)
OKLCHoklch(47.74% 0.136 139.6)
XYZxyz(6.7792, 11.7527, 2.7752)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6E18 #5A186E
analogous
#576E18 #2C6E18 #186E2F
triadic
#2C6E18 #182C6E #6E182C
tetradic
#2C6E18 #18576E #5A186E #6E2F18
square
#2C6E18 #18576E #5A186E #6E2F18
split-complementary
#2C6E18 #2F186E #6E1857
monochromatic
#0A1905 #183C0D #2C6E18 #40A023 #55D22F

Accessibility & contrast

On white

6.27
#2C6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2C6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6E18
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6E18#FFFFFF#000000##FFFFFF
##2C6E181.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716407
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#246A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c6e18;
/* rgb */ color: rgb(44, 110, 24);
/* oklch */ color: oklch(47.7% 0.136 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e985b',
    500: '#2c6e18',
    950: '#000000',
  },
}
SCSS
$custom: #2c6e18;
$custom-light: #6e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6e18",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 106.047,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.13565,
    "h": 139.6
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#2C6E18
secondary
#8C3EA4
accent
#41E7C0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2C6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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