#2C6917#2C6917

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

Color values

HEX#2C6917
RGBrgb(44, 105, 23)
HSLhsl(105, 64%, 25%)
HSVhsv(105, 78%, 41%)
CMYKcmyk(58.1%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.07, -35.62, 37.75)
CIE-LCHlch(39.07, 51.90, 133.33°)
OKLaboklab(46.29% -0.0981 0.085)
OKLCHoklch(46.29% 0.13 139.1)
XYZxyz(6.2447, 10.7000, 2.5467)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6917 #541769
analogous
#556917 #2C6917 #17692B
triadic
#2C6917 #172C69 #69172C
tetradic
#2C6917 #175569 #541769 #692B17
square
#2C6917 #175569 #541769 #692B17
split-complementary
#2C6917 #2B1769 #691755
monochromatic
#0B1905 #17370C #2C6917 #419B22 #56CD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6917#FFFFFF#000000##FFFFFF
##2C69171.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)
#6C5F07
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#266559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c6917;
/* rgb */ color: rgb(44, 105, 23);
/* oklch */ color: oklch(46.3% 0.130 139.1);
Tailwind
colors: {
  custom: {
    50: '#6d945a',
    500: '#2c6917',
    950: '#000000',
  },
}
SCSS
$custom: #2c6917;
$custom-light: #6d945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6917",
  "rgb": {
    "r": 44,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 104.634,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.12979,
    "h": 139.1
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#2C6917
secondary
#863D9F
accent
#41E7BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6917

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

Preview Lab → · Contrast checker → · Palette generator →

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