#2C6811#2C6811

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

Color values

HEX#2C6811
RGBrgb(44, 104, 17)
HSLhsl(101, 72%, 24%)
HSVhsv(101, 84%, 41%)
CMYKcmyk(57.7%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.68, -35.63, 39.55)
CIE-LCHlch(38.68, 53.23, 132.01°)
OKLaboklab(45.96% -0.0985 0.0878)
OKLCHoklch(45.96% 0.132 138.3)
XYZxyz(6.0900, 10.4761, 2.2314)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6811 #4D1168
analogous
#576811 #2C6811 #116821
triadic
#2C6811 #112C68 #68112C
tetradic
#2C6811 #115768 #4D1168 #682111
square
#2C6811 #115768 #4D1168 #682111
split-complementary
#2C6811 #211168 #681157
monochromatic
#0B1A04 #163308 #2C6811 #429D1A #59D122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6811#FFFFFF#000000##FFFFFF
##2C68111.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)
#6B5E00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#276458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c6811;
/* rgb */ color: rgb(44, 104, 17);
/* oklch */ color: oklch(46.0% 0.132 138.3);
Tailwind
colors: {
  custom: {
    50: '#6d9457',
    500: '#2c6811',
    950: '#000000',
  },
}
SCSS
$custom: #2c6811;
$custom-light: #6d9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6811",
  "rgb": {
    "r": 44,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 101.379,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45963,
    "c": 0.13196,
    "h": 138.3
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#2C6811
secondary
#7F35A0
accent
#39EFB6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2C6811

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

Preview Lab → · Contrast checker → · Palette generator →

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