#2C6211#2C6211

#2C6211 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.124 H 137.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2C6211
RGBrgb(44, 98, 17)
HSLhsl(100, 70%, 23%)
HSVhsv(100, 83%, 38%)
CMYKcmyk(55.1%, 0%, 82.7%, 61.6%)
CIE-LABlab(36.58, -33.14, 37.55)
CIE-LCHlch(36.58, 50.08, 131.43°)
OKLaboklab(44.22% -0.0918 0.0836)
OKLCHoklch(44.22% 0.124 137.7)
XYZxyz(5.5074, 9.3109, 2.0372)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6211 #471162
analogous
#556211 #2C6211 #11621E
triadic
#2C6211 #112C62 #62112C
tetradic
#2C6211 #115562 #471162 #621E11
square
#2C6211 #115562 #471162 #621E11
split-complementary
#2C6211 #1E1162 #621155
monochromatic
#0C1A05 #152E08 #2C6211 #43961A #5BCA23

Accessibility & contrast

On white

7.34
#2C6211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C6211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6211
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6211#FFFFFF#000000##FFFFFF
##2C62111.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c6211;
/* rgb */ color: rgb(44, 98, 17);
/* oklch */ color: oklch(44.2% 0.124 137.7);
Tailwind
colors: {
  custom: {
    50: '#6c8f56',
    500: '#2c6211',
    950: '#000000',
  },
}
SCSS
$custom: #2c6211;
$custom-light: #6c8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6211",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 100,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44225,
    "c": 0.1242,
    "h": 137.7
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#2C6211
secondary
#78349A
accent
#3BEDB2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6211

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

Preview Lab → · Contrast checker → · Palette generator →

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