#2C7950#2C7950

#2C7950 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.100 H 156.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2C7950
RGBrgb(44, 121, 80)
HSLhsl(148, 47%, 32%)
HSVhsv(148, 64%, 47%)
CMYKcmyk(63.6%, 0%, 33.9%, 52.5%)
CIE-LABlab(45.34, -33.82, 15.68)
CIE-LCHlch(45.34, 37.27, 155.13°)
OKLaboklab(51.71% -0.092 0.0396)
OKLCHoklch(51.71% 0.1 156.7)
XYZxyz(9.3232, 14.7885, 9.9510)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7950 #792C55
analogous
#2E792C #2C7950 #2C7977
triadic
#2C7950 #502C79 #79502C
tetradic
#2C7950 #2C2E79 #792C55 #79772C
square
#2C7950 #2C2E79 #792C55 #79772C
split-complementary
#2C7950 #772C79 #792C2E
monochromatic
#0B1F15 #1C4C32 #2C7950 #3CA66E #5CC48C

Accessibility & contrast

On white

5.31
#2C7950 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2C7950 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7950
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7950#FFFFFF#000000##FFFFFF
##2C79501.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78704D
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#09786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7950;
/* rgb */ color: rgb(44, 121, 80);
/* oklch */ color: oklch(51.7% 0.100 156.7);
Tailwind
colors: {
  custom: {
    50: '#6ea081',
    500: '#2c7950',
    950: '#000000',
  },
}
SCSS
$custom: #2c7950;
$custom-light: #6ea081;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7950",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 80
  },
  "hsl": {
    "h": 148.052,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.10015,
    "h": 156.7
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#2C7950
secondary
#AA5783
accent
#5198D6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2C7950

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

Preview Lab → · Contrast checker → · Palette generator →

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