#2C6715#2C6715

#2C6715 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.128 H 138.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2C6715
RGBrgb(44, 103, 21)
HSLhsl(103, 66%, 24%)
HSVhsv(103, 80%, 40%)
CMYKcmyk(57.3%, 0%, 79.6%, 59.6%)
CIE-LABlab(38.36, -34.95, 37.81)
CIE-LCHlch(38.36, 51.49, 132.74°)
OKLaboklab(45.7% -0.0964 0.0848)
OKLCHoklch(45.7% 0.128 138.7)
XYZxyz(6.0241, 10.2896, 2.3780)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6715 #501567
analogous
#556715 #2C6715 #156727
triadic
#2C6715 #152C67 #67152C
tetradic
#2C6715 #155567 #501567 #672715
square
#2C6715 #155567 #501567 #672715
split-complementary
#2C6715 #271567 #671555
monochromatic
#0B1905 #16340B #2C6715 #429A1F #57CD2A

Accessibility & contrast

On white

6.87
#2C6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2C6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6715
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6715#FFFFFF#000000##FFFFFF
##2C67151.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#276357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c6715;
/* rgb */ color: rgb(44, 103, 21);
/* oklch */ color: oklch(45.7% 0.128 138.7);
Tailwind
colors: {
  custom: {
    50: '#6c9359',
    500: '#2c6715',
    950: '#000000',
  },
}
SCSS
$custom: #2c6715;
$custom-light: #6c9359;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6715",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 103.171,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.12841,
    "h": 138.7
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#2C6715
secondary
#823A9E
accent
#3FE9B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2C6715

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

Preview Lab → · Contrast checker → · Palette generator →

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