#2C7117#2C7117

#2C7117 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.140 H 139.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2C7117
RGBrgb(44, 113, 23)
HSLhsl(106, 66%, 27%)
HSVhsv(106, 80%, 44%)
CMYKcmyk(61.1%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.86, -38.82, 40.50)
CIE-LCHlch(41.86, 56.10, 133.79°)
OKLaboklab(48.59% -0.1067 0.0907)
OKLCHoklch(48.59% 0.14 139.6)
XYZxyz(7.0982, 12.4070, 2.8312)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7117 #5C1771
analogous
#597117 #2C7117 #17712F
triadic
#2C7117 #172C71 #71172C
tetradic
#2C7117 #175971 #5C1771 #712F17
square
#2C7117 #175971 #5C1771 #712F17
split-complementary
#2C7117 #2F1771 #711759
monochromatic
#0A1905 #183E0D #2C7117 #40A421 #55D42E

Accessibility & contrast

On white

6.03
#2C7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7117
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7117#FFFFFF#000000##FFFFFF
##2C71171.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#246D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c7117;
/* rgb */ color: rgb(44, 113, 23);
/* oklch */ color: oklch(48.6% 0.140 139.6);
Tailwind
colors: {
  custom: {
    50: '#6e9a5b',
    500: '#2c7117',
    950: '#000000',
  },
}
SCSS
$custom: #2c7117;
$custom-light: #6e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7117",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 106,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48593,
    "c": 0.14008,
    "h": 139.6
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#2C7117
secondary
#8E3DA7
accent
#3FE9C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7117

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

Preview Lab → · Contrast checker → · Palette generator →

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