#2C7D2F#2C7D2F

#2C7D2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.138 H 143.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2C7D2F
RGBrgb(44, 125, 47)
HSLhsl(122, 48%, 33%)
HSVhsv(122, 65%, 49%)
CMYKcmyk(64.8%, 0%, 62.4%, 51%)
CIE-LABlab(46.19, -41.13, 34.68)
CIE-LCHlch(46.19, 53.80, 139.86°)
OKLaboklab(52.24% -0.1116 0.0815)
OKLCHoklch(52.24% 0.138 143.9)
XYZxyz(8.8849, 15.4071, 5.1944)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D2F #7D2C7A
analogous
#517D2C #2C7D2F #2C7D57
triadic
#2C7D2F #2F2C7D #7D2F2C
tetradic
#2C7D2F #2C517D #7D2C7A #7D572C
square
#2C7D2F #2C517D #7D2C7A #7D572C
split-complementary
#2C7D2F #572C7D #7D2C51
monochromatic
#0C220D #1C501E #2C7D2F #3CAA40 #5DC661

Accessibility & contrast

On white

5.15
#2C7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2C7D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D2F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D2F#FFFFFF#000000##FFFFFF
##2C7D2F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7227
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#1B7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d2f;
/* rgb */ color: rgb(44, 125, 47);
/* oklch */ color: oklch(52.2% 0.138 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2c7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d2f;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d2f",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 122.222,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52237,
    "c": 0.13816,
    "h": 143.9
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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