#2C7617#2C7617

#2C7617 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.146 H 139.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2C7617
RGBrgb(44, 118, 23)
HSLhsl(107, 67%, 28%)
HSVhsv(107, 81%, 46%)
CMYKcmyk(62.7%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.59, -40.75, 42.18)
CIE-LCHlch(43.59, 58.65, 134.02°)
OKLaboklab(50.02% -0.1119 0.0942)
OKLCHoklch(50.02% 0.146 139.9)
XYZxyz(7.6714, 13.5535, 3.0223)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7617 #611776
analogous
#5B7617 #2C7617 #177632
triadic
#2C7617 #172C76 #76172C
tetradic
#2C7617 #175B76 #611776 #763217
square
#2C7617 #175B76 #611776 #763217
split-complementary
#2C7617 #321776 #76175B
monochromatic
#0A1A05 #19430D #2C7617 #3FA921 #55D731

Accessibility & contrast

On white

5.66
#2C7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2C7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7617
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7617#FFFFFF#000000##FFFFFF
##2C76171.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B01
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#227264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c7617;
/* rgb */ color: rgb(44, 118, 23);
/* oklch */ color: oklch(50.0% 0.146 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9e5c',
    500: '#2c7617',
    950: '#000000',
  },
}
SCSS
$custom: #2c7617;
$custom-light: #6f9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7617",
  "rgb": {
    "r": 44,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 106.737,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.14631,
    "h": 139.9
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#2C7617
secondary
#933EAB
accent
#3EEAC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2C7617

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

Preview Lab → · Contrast checker → · Palette generator →

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