#2C7D24#2C7D24

#2C7D24 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.147 H 141.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2C7D24
RGBrgb(44, 125, 36)
HSLhsl(115, 55%, 32%)
HSVhsv(115, 71%, 49%)
CMYKcmyk(64.8%, 0%, 71.2%, 51%)
CIE-LABlab(46.08, -42.34, 39.63)
CIE-LCHlch(46.08, 57.99, 136.90°)
OKLaboklab(52.12% -0.1154 0.0908)
OKLCHoklch(52.12% 0.147 141.8)
XYZxyz(8.6903, 15.3292, 4.1696)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D24 #75247D
analogous
#597D24 #2C7D24 #247D49
triadic
#2C7D24 #242C7D #7D242C
tetradic
#2C7D24 #24597D #75247D #7D4924
square
#2C7D24 #24597D #75247D #7D4924
split-complementary
#2C7D24 #49247D #7D2459
monochromatic
#0B1E09 #1B4D16 #2C7D24 #3DAD32 #5ACC4F

Accessibility & contrast

On white

5.16
#2C7D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2C7D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D24
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D24#FFFFFF#000000##FFFFFF
##2C7D241.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#1E796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d24;
/* rgb */ color: rgb(44, 125, 36);
/* oklch */ color: oklch(52.1% 0.147 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a364',
    500: '#2c7d24',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d24;
$custom-light: #70a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d24",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 114.607,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.14685,
    "h": 141.8
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#2C7D24
secondary
#A74DAF
accent
#49DFD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D24

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

Preview Lab → · Contrast checker → · Palette generator →

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