#2C7E27#2C7E27

#2C7E27 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.146 H 142.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2C7E27
RGBrgb(44, 126, 39)
HSLhsl(117, 53%, 32%)
HSVhsv(117, 69%, 49%)
CMYKcmyk(65.1%, 0%, 69%, 50.6%)
CIE-LABlab(46.45, -42.42, 38.71)
CIE-LCHlch(46.45, 57.43, 137.62°)
OKLaboklab(52.43% -0.1155 0.0892)
OKLCHoklch(52.43% 0.146 142.3)
XYZxyz(8.8653, 15.6028, 4.4635)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E27 #79277E
analogous
#577E27 #2C7E27 #277E4E
triadic
#2C7E27 #272C7E #7E272C
tetradic
#2C7E27 #27577E #79277E #7E4E27
square
#2C7E27 #27577E #79277E #7E4E27
split-complementary
#2C7E27 #4E277E #7E2757
monochromatic
#0B210A #1C4F19 #2C7E27 #3CAD35 #5CCA55

Accessibility & contrast

On white

5.10
#2C7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2C7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E27
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E27#FFFFFF#000000##FFFFFF
##2C7E271.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#1D7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e27;
/* rgb */ color: rgb(44, 126, 39);
/* oklch */ color: oklch(52.4% 0.146 142.3);
Tailwind
colors: {
  custom: {
    50: '#70a466',
    500: '#2c7e27',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e27;
$custom-light: #70a466;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e27",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 116.552,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.14593,
    "h": 142.3
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#2C7E27
secondary
#AA52AF
accent
#4CDCD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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