#2C6315#2C6315

#2C6315 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.123 H 138.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2C6315
RGBrgb(44, 99, 21)
HSLhsl(102, 65%, 24%)
HSVhsv(102, 79%, 39%)
CMYKcmyk(55.6%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.95, -33.28, 36.43)
CIE-LCHlch(36.95, 49.34, 132.41°)
OKLaboklab(44.55% -0.0919 0.0819)
OKLCHoklch(44.55% 0.123 138.3)
XYZxyz(5.6357, 9.5129, 2.2485)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6315 #4C1563
analogous
#536315 #2C6315 #156325
triadic
#2C6315 #152C63 #63152C
tetradic
#2C6315 #155363 #4C1563 #632515
square
#2C6315 #155363 #4C1563 #632515
split-complementary
#2C6315 #251563 #631553
monochromatic
#0B1905 #16310A #2C6315 #429520 #59C82A

Accessibility & contrast

On white

7.23
#2C6315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C6315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6315
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6315#FFFFFF#000000##FFFFFF
##2C63151.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#275F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c6315;
/* rgb */ color: rgb(44, 99, 21);
/* oklch */ color: oklch(44.5% 0.123 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c9058',
    500: '#2c6315',
    950: '#000000',
  },
}
SCSS
$custom: #2c6315;
$custom-light: #6c9058;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6315",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 102.308,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.12312,
    "h": 138.3
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C6315

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

Preview Lab → · Contrast checker → · Palette generator →

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