#2C6E1B#2C6E1B

#2C6E1B is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.134 H 140.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2C6E1B
RGBrgb(44, 110, 27)
HSLhsl(108, 61%, 27%)
HSVhsv(108, 75%, 43%)
CMYKcmyk(60%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.84, -37.31, 37.94)
CIE-LCHlch(40.84, 53.22, 134.52°)
OKLaboklab(47.76% -0.1024 0.086)
OKLCHoklch(47.76% 0.134 140)
XYZxyz(6.8122, 11.7659, 2.9488)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6E1B #5D1B6E
analogous
#566E1B #2C6E1B #1B6E34
triadic
#2C6E1B #1B2C6E #6E1B2C
tetradic
#2C6E1B #1B566E #5D1B6E #6E341B
square
#2C6E1B #1B566E #5D1B6E #6E341B
split-complementary
#2C6E1B #341B6E #6E1B56
monochromatic
#0A1906 #183D0F #2C6E1B #409F27 #55CE36

Accessibility & contrast

On white

6.26
#2C6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C6E1B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6E1B#FFFFFF#000000##FFFFFF
##2C6E1B1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640D
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#246A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c6e1b;
/* rgb */ color: rgb(44, 110, 27);
/* oklch */ color: oklch(47.8% 0.134 140.0);
Tailwind
colors: {
  custom: {
    50: '#6d985d',
    500: '#2c6e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2c6e1b;
$custom-light: #6d985d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6e1b",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 107.711,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.13372,
    "h": 140
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#2C6E1B
secondary
#8F42A3
accent
#44E4C3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2C6E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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