#2C6B18#2C6B18

#2C6B18 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.132 H 139.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2C6B18
RGBrgb(44, 107, 24)
HSLhsl(106, 63%, 26%)
HSVhsv(106, 78%, 42%)
CMYKcmyk(58.9%, 0%, 77.6%, 58%)
CIE-LABlab(39.78, -36.35, 38.07)
CIE-LCHlch(39.78, 52.64, 133.68°)
OKLaboklab(46.88% -0.1 0.0858)
OKLCHoklch(46.88% 0.132 139.4)
XYZxyz(6.4610, 11.1163, 2.6692)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6B18 #57186B
analogous
#556B18 #2C6B18 #186B2D
triadic
#2C6B18 #182C6B #6B182C
tetradic
#2C6B18 #18556B #57186B #6B2D18
square
#2C6B18 #18556B #57186B #6B2D18
split-complementary
#2C6B18 #2D186B #6B1855
monochromatic
#0A1906 #17390D #2C6B18 #419D23 #55CF2E

Accessibility & contrast

On white

6.51
#2C6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2C6B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6B18
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6B18#FFFFFF#000000##FFFFFF
##2C6B181.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#25675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c6b18;
/* rgb */ color: rgb(44, 107, 24);
/* oklch */ color: oklch(46.9% 0.132 139.4);
Tailwind
colors: {
  custom: {
    50: '#6d965b',
    500: '#2c6b18',
    950: '#000000',
  },
}
SCSS
$custom: #2c6b18;
$custom-light: #6d965b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6b18",
  "rgb": {
    "r": 44,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 105.542,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46878,
    "c": 0.13177,
    "h": 139.4
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#2C6B18
secondary
#893EA1
accent
#41E6BF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2C6B18

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

Preview Lab → · Contrast checker → · Palette generator →

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