#2C6612#2C6612

#2C6612 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.129 H 138.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2C6612
RGBrgb(44, 102, 18)
HSLhsl(101, 70%, 24%)
HSVhsv(101, 82%, 40%)
CMYKcmyk(56.9%, 0%, 82.4%, 60%)
CIE-LABlab(37.99, -34.74, 38.55)
CIE-LCHlch(37.99, 51.90, 132.03°)
OKLaboklab(45.39% -0.0961 0.0859)
OKLCHoklch(45.39% 0.129 138.2)
XYZxyz(5.8990, 10.0814, 2.2072)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6612 #4C1266
analogous
#566612 #2C6612 #126622
triadic
#2C6612 #122C66 #66122C
tetradic
#2C6612 #125666 #4C1266 #662212
square
#2C6612 #125666 #4C1266 #662212
split-complementary
#2C6612 #221266 #661256
monochromatic
#0B1A05 #163209 #2C6612 #429A1B #59CE24

Accessibility & contrast

On white

6.96
#2C6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2C6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6612
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6612#FFFFFF#000000##FFFFFF
##2C66121.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#276256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c6612;
/* rgb */ color: rgb(44, 102, 18);
/* oklch */ color: oklch(45.4% 0.129 138.2);
Tailwind
colors: {
  custom: {
    50: '#6c9257',
    500: '#2c6612',
    950: '#000000',
  },
}
SCSS
$custom: #2c6612;
$custom-light: #6c9257;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6612",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 101.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.12886,
    "h": 138.2
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#2C6612
secondary
#7E369E
accent
#3BEDB6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2C6612

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

Preview Lab → · Contrast checker → · Palette generator →

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