#2C7E4F#2C7E4F

#2C7E4F is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.1% C 0.109 H 154.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2C7E4F
RGBrgb(44, 126, 79)
HSLhsl(146, 48%, 33%)
HSVhsv(146, 65%, 49%)
CMYKcmyk(65.1%, 0%, 37.3%, 50.6%)
CIE-LABlab(47.00, -36.23, 18.49)
CIE-LCHlch(47.00, 40.67, 152.96°)
OKLaboklab(53.06% -0.0982 0.0464)
OKLCHoklch(53.06% 0.109 154.7)
XYZxyz(9.9100, 16.0207, 9.9657)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E4F #7E2C5B
analogous
#327E2C #2C7E4F #2C7E78
triadic
#2C7E4F #4F2C7E #7E4F2C
tetradic
#2C7E4F #2C327E #7E2C5B #7E782C
square
#2C7E4F #2C327E #7E2C5B #7E782C
split-complementary
#2C7E4F #782C7E #7E2C32
monochromatic
#0C2316 #1C5133 #2C7E4F #3CAB6B #5EC78B

Accessibility & contrast

On white

4.99
#2C7E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2C7E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E4F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E4F#FFFFFF#000000##FFFFFF
##2C7E4F1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#736C52
Tritanopia (blue-blind)
#057D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7e4f;
/* rgb */ color: rgb(44, 126, 79);
/* oklch */ color: oklch(53.1% 0.109 154.7);
Tailwind
colors: {
  custom: {
    50: '#6fa480',
    500: '#2c7e4f',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e4f;
$custom-light: #6fa480;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e4f",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 145.61,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.10858,
    "h": 154.7
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#2C7E4F
secondary
#AD5989
accent
#509ED8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2C7E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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