#2C6D18#2C6D18

#2C6D18 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.5% C 0.134 H 139.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2C6D18
RGBrgb(44, 109, 24)
HSLhsl(106, 64%, 26%)
HSVhsv(106, 78%, 43%)
CMYKcmyk(59.6%, 0%, 78%, 57.3%)
CIE-LABlab(40.47, -37.16, 38.76)
CIE-LCHlch(40.47, 53.70, 133.79°)
OKLaboklab(47.45% -0.1022 0.0872)
OKLCHoklch(47.45% 0.134 139.5)
XYZxyz(6.6719, 11.5381, 2.7395)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6D18 #59186D
analogous
#566D18 #2C6D18 #186D2E
triadic
#2C6D18 #182C6D #6D182C
tetradic
#2C6D18 #18566D #59186D #6D2E18
square
#2C6D18 #18566D #59186D #6D2E18
split-complementary
#2C6D18 #2E186D #6D1856
monochromatic
#0A1906 #183B0D #2C6D18 #409F23 #55D12E

Accessibility & contrast

On white

6.35
#2C6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2C6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6D18
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6D18#FFFFFF#000000##FFFFFF
##2C6D181.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#25695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c6d18;
/* rgb */ color: rgb(44, 109, 24);
/* oklch */ color: oklch(47.5% 0.134 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d975b',
    500: '#2c6d18',
    950: '#000000',
  },
}
SCSS
$custom: #2c6d18;
$custom-light: #6d975b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6d18",
  "rgb": {
    "r": 44,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 105.882,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47453,
    "c": 0.13437,
    "h": 139.5
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#2C6D18
secondary
#8B3EA3
accent
#41E7C0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2C6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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