#2C6B15#2C6B15

#2C6B15 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.134 H 139.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2C6B15
RGBrgb(44, 107, 21)
HSLhsl(104, 67%, 25%)
HSVhsv(104, 80%, 42%)
CMYKcmyk(58.9%, 0%, 80.4%, 58%)
CIE-LABlab(39.76, -36.58, 39.18)
CIE-LCHlch(39.76, 53.60, 133.03°)
OKLaboklab(46.86% -0.1008 0.0877)
OKLCHoklch(46.86% 0.134 139)
XYZxyz(6.4315, 11.1045, 2.5138)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6B15 #54156B
analogous
#576B15 #2C6B15 #156B29
triadic
#2C6B15 #152C6B #6B152C
tetradic
#2C6B15 #15576B #54156B #6B2915
square
#2C6B15 #15576B #54156B #6B2915
split-complementary
#2C6B15 #29156B #6B1557
monochromatic
#0B1A05 #17380B #2C6B15 #419E1F #56D129

Accessibility & contrast

On white

6.52
#2C6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2C6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6B15
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6B15#FFFFFF#000000##FFFFFF
##2C6B151.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#26675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c6b15;
/* rgb */ color: rgb(44, 107, 21);
/* oklch */ color: oklch(46.9% 0.134 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d965a',
    500: '#2c6b15',
    950: '#000000',
  },
}
SCSS
$custom: #2c6b15;
$custom-light: #6d965a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6b15",
  "rgb": {
    "r": 44,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 103.953,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.1336,
    "h": 139
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#2C6B15
secondary
#863AA2
accent
#3EEABC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2C6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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