#2C7850#2C7850

#2C7850 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.4% C 0.099 H 157.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2C7850
RGBrgb(44, 120, 80)
HSLhsl(148, 46%, 32%)
HSVhsv(148, 63%, 47%)
CMYKcmyk(63.3%, 0%, 33.3%, 52.9%)
CIE-LABlab(45.01, -33.37, 15.22)
CIE-LCHlch(45.01, 36.68, 155.48°)
OKLaboklab(51.43% -0.0908 0.0385)
OKLCHoklch(51.43% 0.099 157)
XYZxyz(9.2023, 14.5467, 9.9107)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7850 #782C54
analogous
#2E782C #2C7850 #2C7876
triadic
#2C7850 #502C78 #78502C
tetradic
#2C7850 #2C2E78 #782C54 #78762C
square
#2C7850 #2C2E78 #782C54 #78762C
split-complementary
#2C7850 #762C78 #782C2E
monochromatic
#0B1E14 #1C4B32 #2C7850 #3CA56E #5BC38C

Accessibility & contrast

On white

5.37
#2C7850 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2C7850 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7850
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7850#FFFFFF#000000##FFFFFF
##2C78501.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4E
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#09776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7850;
/* rgb */ color: rgb(44, 120, 80);
/* oklch */ color: oklch(51.4% 0.099 157.0);
Tailwind
colors: {
  custom: {
    50: '#6e9f81',
    500: '#2c7850',
    950: '#000000',
  },
}
SCSS
$custom: #2c7850;
$custom-light: #6e9f81;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7850",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 80
  },
  "hsl": {
    "h": 148.421,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.09864,
    "h": 157
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#2C7850
secondary
#A95782
accent
#5297D6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2C7850

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

Preview Lab → · Contrast checker → · Palette generator →

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