#2C6215#2C6215

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

Color values

HEX#2C6215
RGBrgb(44, 98, 21)
HSLhsl(102, 65%, 23%)
HSVhsv(102, 79%, 38%)
CMYKcmyk(55.1%, 0%, 78.6%, 61.6%)
CIE-LABlab(36.60, -32.85, 36.08)
CIE-LCHlch(36.60, 48.80, 132.32°)
OKLaboklab(44.26% -0.0908 0.0812)
OKLCHoklch(44.26% 0.122 138.2)
XYZxyz(5.5415, 9.3246, 2.2171)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6215 #4B1562
analogous
#526215 #2C6215 #156224
triadic
#2C6215 #152C62 #62152C
tetradic
#2C6215 #155262 #4B1562 #622415
square
#2C6215 #155262 #4B1562 #622415
split-complementary
#2C6215 #241562 #621552
monochromatic
#0B1905 #15300A #2C6215 #439420 #59C72B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6215#FFFFFF#000000##FFFFFF
##2C62151.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)
#655906
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c6215;
/* rgb */ color: rgb(44, 98, 21);
/* oklch */ color: oklch(44.3% 0.122 138.2);
Tailwind
colors: {
  custom: {
    50: '#6c8f58',
    500: '#2c6215',
    950: '#000000',
  },
}
SCSS
$custom: #2c6215;
$custom-light: #6c8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6215",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 102.078,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44255,
    "c": 0.12178,
    "h": 138.2
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#2C6215
secondary
#7D3A99
accent
#40E8B6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C6215

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

Preview Lab → · Contrast checker → · Palette generator →

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