#2C6915#2C6915

#2C6915 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.131 H 138.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2C6915
RGBrgb(44, 105, 21)
HSLhsl(104, 67%, 25%)
HSVhsv(104, 80%, 41%)
CMYKcmyk(58.1%, 0%, 80%, 58.8%)
CIE-LABlab(39.06, -35.77, 38.50)
CIE-LCHlch(39.06, 52.55, 132.89°)
OKLaboklab(46.28% -0.0986 0.0862)
OKLCHoklch(46.28% 0.131 138.8)
XYZxyz(6.2254, 10.6923, 2.4451)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6915 #521569
analogous
#566915 #2C6915 #156928
triadic
#2C6915 #152C69 #69152C
tetradic
#2C6915 #155669 #521569 #692815
square
#2C6915 #155669 #521569 #692815
split-complementary
#2C6915 #281569 #691556
monochromatic
#0B1A05 #17360B #2C6915 #419C1F #57CF29

Accessibility & contrast

On white

6.69
#2C6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2C6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6915
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6915#FFFFFF#000000##FFFFFF
##2C69151.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#266559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c6915;
/* rgb */ color: rgb(44, 105, 21);
/* oklch */ color: oklch(46.3% 0.131 138.8);
Tailwind
colors: {
  custom: {
    50: '#6d9459',
    500: '#2c6915',
    950: '#000000',
  },
}
SCSS
$custom: #2c6915;
$custom-light: #6d9459;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6915",
  "rgb": {
    "r": 44,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 103.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.13102,
    "h": 138.8
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#2C6915
secondary
#843AA0
accent
#3EEABB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6915

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

Preview Lab → · Contrast checker → · Palette generator →

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