#2C6216#2C6216

#2C6216 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.3% C 0.121 H 138.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2C6216
RGBrgb(44, 98, 22)
HSLhsl(103, 63%, 24%)
HSVhsv(103, 78%, 38%)
CMYKcmyk(55.1%, 0%, 77.6%, 61.6%)
CIE-LABlab(36.61, -32.77, 35.68)
CIE-LCHlch(36.61, 48.45, 132.56°)
OKLaboklab(44.26% -0.0905 0.0805)
OKLCHoklch(44.26% 0.121 138.3)
XYZxyz(5.5510, 9.3283, 2.2669)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6216 #4C1662
analogous
#526216 #2C6216 #166226
triadic
#2C6216 #162C62 #62162C
tetradic
#2C6216 #165262 #4C1662 #622616
square
#2C6216 #165262 #4C1662 #622616
split-complementary
#2C6216 #261662 #621652
monochromatic
#0B1906 #16300B #2C6216 #429421 #59C62C

Accessibility & contrast

On white

7.33
#2C6216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2C6216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6216
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6216#FFFFFF#000000##FFFFFF
##2C62161.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c6216;
/* rgb */ color: rgb(44, 98, 22);
/* oklch */ color: oklch(44.3% 0.121 138.3);
Tailwind
colors: {
  custom: {
    50: '#6b8f59',
    500: '#2c6216',
    950: '#000000',
  },
}
SCSS
$custom: #2c6216;
$custom-light: #6b8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6216",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 102.632,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44263,
    "c": 0.12113,
    "h": 138.3
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#2C6216
secondary
#7E3B99
accent
#41E6B7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C6216

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

Preview Lab → · Contrast checker → · Palette generator →

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