#2C6716#2C6716

#2C6716 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.128 H 138.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2C6716
RGBrgb(44, 103, 22)
HSLhsl(104, 65%, 25%)
HSVhsv(104, 79%, 40%)
CMYKcmyk(57.3%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.36, -34.87, 37.44)
CIE-LCHlch(38.36, 51.16, 132.97°)
OKLaboklab(45.71% -0.0961 0.0842)
OKLCHoklch(45.71% 0.128 138.8)
XYZxyz(6.0335, 10.2934, 2.4278)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6716 #511667
analogous
#556716 #2C6716 #166729
triadic
#2C6716 #162C67 #67162C
tetradic
#2C6716 #165567 #511667 #672916
square
#2C6716 #165567 #511667 #672916
split-complementary
#2C6716 #291667 #671655
monochromatic
#0B1905 #16350B #2C6716 #429921 #57CC2C

Accessibility & contrast

On white

6.87
#2C6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2C6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6716
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6716#FFFFFF#000000##FFFFFF
##2C67161.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#266357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c6716;
/* rgb */ color: rgb(44, 103, 22);
/* oklch */ color: oklch(45.7% 0.128 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c935a',
    500: '#2c6716',
    950: '#000000',
  },
}
SCSS
$custom: #2c6716;
$custom-light: #6c935a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6716",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 103.704,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45709,
    "c": 0.12779,
    "h": 138.8
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#2C6716
secondary
#833B9E
accent
#40E8BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6716

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

Preview Lab → · Contrast checker → · Palette generator →

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