#2C6816#2C6816

#2C6816 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.129 H 138.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2C6816
RGBrgb(44, 104, 22)
HSLhsl(104, 65%, 25%)
HSVhsv(104, 79%, 41%)
CMYKcmyk(57.7%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.71, -35.28, 37.79)
CIE-LCHlch(38.71, 51.70, 133.04°)
OKLaboklab(46% -0.0973 0.0849)
OKLCHoklch(46% 0.129 138.9)
XYZxyz(6.1336, 10.4935, 2.4611)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6816 #521668
analogous
#556816 #2C6816 #166829
triadic
#2C6816 #162C68 #68162C
tetradic
#2C6816 #165568 #521668 #682916
square
#2C6816 #165568 #521668 #682916
split-complementary
#2C6816 #291668 #681655
monochromatic
#0B1905 #17350B #2C6816 #419B21 #57CD2B

Accessibility & contrast

On white

6.78
#2C6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6816
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6816#FFFFFF#000000##FFFFFF
##2C68161.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#266458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c6816;
/* rgb */ color: rgb(44, 104, 22);
/* oklch */ color: oklch(46.0% 0.129 138.9);
Tailwind
colors: {
  custom: {
    50: '#6d945a',
    500: '#2c6816',
    950: '#000000',
  },
}
SCSS
$custom: #2c6816;
$custom-light: #6d945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6816",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 103.902,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.12911,
    "h": 138.9
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#2C6816
secondary
#843B9F
accent
#40E8BB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6816

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

Preview Lab → · Contrast checker → · Palette generator →

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