#2C7D4E#2C7D4E

#2C7D4E is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.108 H 154.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C7D4E
RGBrgb(44, 125, 78)
HSLhsl(145, 48%, 33%)
HSVhsv(145, 65%, 49%)
CMYKcmyk(64.8%, 0%, 37.6%, 51%)
CIE-LABlab(46.65, -36.00, 18.59)
CIE-LCHlch(46.65, 40.51, 152.69°)
OKLaboklab(52.77% -0.0975 0.0466)
OKLCHoklch(52.77% 0.108 154.5)
XYZxyz(9.7466, 15.7518, 9.7330)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D4E #7D2C5B
analogous
#327D2C #2C7D4E #2C7D76
triadic
#2C7D4E #4E2C7D #7D4E2C
tetradic
#2C7D4E #2C327D #7D2C5B #7D762C
square
#2C7D4E #2C327D #7D2C5B #7D762C
split-complementary
#2C7D4E #762C7D #7D2C32
monochromatic
#0C2216 #1C5032 #2C7D4E #3CAA6A #5DC689

Accessibility & contrast

On white

5.06
#2C7D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2C7D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D4E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D4E#FFFFFF#000000##FFFFFF
##2C7D4E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#726C51
Tritanopia (blue-blind)
#077C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7d4e;
/* rgb */ color: rgb(44, 125, 78);
/* oklch */ color: oklch(52.8% 0.108 154.5);
Tailwind
colors: {
  custom: {
    50: '#6ea380',
    500: '#2c7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d4e;
$custom-light: #6ea380;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d4e",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 145.185,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.10811,
    "h": 154.5
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#2C7D4E
secondary
#AC5989
accent
#509FD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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