#2C7E2F#2C7E2F

#2C7E2F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.140 H 143.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2C7E2F
RGBrgb(44, 126, 47)
HSLhsl(122, 48%, 33%)
HSVhsv(122, 65%, 49%)
CMYKcmyk(65.1%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.53, -41.52, 35.07)
CIE-LCHlch(46.53, 54.35, 139.81°)
OKLaboklab(52.52% -0.1126 0.0823)
OKLCHoklch(52.52% 0.14 143.8)
XYZxyz(9.0121, 15.6615, 5.2368)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E2F #7E2C7B
analogous
#527E2C #2C7E2F #2C7E58
triadic
#2C7E2F #2F2C7E #7E2F2C
tetradic
#2C7E2F #2C527E #7E2C7B #7E582C
square
#2C7E2F #2C527E #7E2C7B #7E582C
split-complementary
#2C7E2F #582C7E #7E2C52
monochromatic
#0C230D #1C511E #2C7E2F #3CAB40 #5EC762

Accessibility & contrast

On white

5.08
#2C7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2C7E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E2F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E2F#FFFFFF#000000##FFFFFF
##2C7E2F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#1A7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e2f;
/* rgb */ color: rgb(44, 126, 47);
/* oklch */ color: oklch(52.5% 0.140 143.8);
Tailwind
colors: {
  custom: {
    50: '#70a46a',
    500: '#2c7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e2f;
$custom-light: #70a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e2f",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 122.195,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.1395,
    "h": 143.8
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#2C7E2F
secondary
#AD59AA
accent
#50D3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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