#2C7B4E#2C7B4E

#2C7B4E is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.105 H 155.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C7B4E
RGBrgb(44, 123, 78)
HSLhsl(146, 47%, 33%)
HSVhsv(146, 64%, 48%)
CMYKcmyk(64.2%, 0%, 36.6%, 51.8%)
CIE-LABlab(45.98, -35.13, 17.69)
CIE-LCHlch(45.98, 39.33, 153.28°)
OKLaboklab(52.22% -0.0953 0.0444)
OKLCHoklch(52.22% 0.105 155)
XYZxyz(9.4960, 15.2505, 9.6495)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B4E #7B2C59
analogous
#317B2C #2C7B4E #2C7B75
triadic
#2C7B4E #4E2C7B #7B4E2C
tetradic
#2C7B4E #2C317B #7B2C59 #7B752C
square
#2C7B4E #2C317B #7B2C59 #7B752C
split-complementary
#2C7B4E #752C7B #7B2C31
monochromatic
#0C2115 #1C4E31 #2C7B4E #3CA86B #5DC589

Accessibility & contrast

On white

5.18
#2C7B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2C7B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B4E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B4E#FFFFFF#000000##FFFFFF
##2C7B4E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#097A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7b4e;
/* rgb */ color: rgb(44, 123, 78);
/* oklch */ color: oklch(52.2% 0.105 155.0);
Tailwind
colors: {
  custom: {
    50: '#6ea280',
    500: '#2c7b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b4e;
$custom-light: #6ea280;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b4e",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 145.823,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.10513,
    "h": 155
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#2C7B4E
secondary
#AB5887
accent
#519DD7
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2C7B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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