#2C7628#2C7628

#2C7628 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.135 H 142.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2C7628
RGBrgb(44, 118, 40)
HSLhsl(117, 49%, 31%)
HSVhsv(117, 66%, 46%)
CMYKcmyk(62.7%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.72, -39.21, 35.26)
CIE-LCHlch(43.72, 52.73, 138.04°)
OKLaboklab(50.18% -0.1067 0.082)
OKLCHoklch(50.18% 0.135 142.5)
XYZxyz(7.8997, 13.6448, 4.2245)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7628 #722876
analogous
#537628 #2C7628 #28764B
triadic
#2C7628 #282C76 #76282C
tetradic
#2C7628 #285376 #722876 #764B28
square
#2C7628 #285376 #722876 #764B28
split-complementary
#2C7628 #4B2876 #762853
monochromatic
#0A1B09 #1B4819 #2C7628 #3DA437 #59C554

Accessibility & contrast

On white

5.63
#2C7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2C7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7628
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7628#FFFFFF#000000##FFFFFF
##2C76281.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#1F7266
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2c7628;
/* rgb */ color: rgb(44, 118, 40);
/* oklch */ color: oklch(50.2% 0.135 142.5);
Tailwind
colors: {
  custom: {
    50: '#6e9e65',
    500: '#2c7628',
    950: '#000000',
  },
}
SCSS
$custom: #2c7628;
$custom-light: #6e9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7628",
  "rgb": {
    "r": 44,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 116.923,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.13459,
    "h": 142.5
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#2C7628
secondary
#A452A8
accent
#4FD9D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2C7628

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

Preview Lab → · Contrast checker → · Palette generator →

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