#2C7E45#2C7E45

#2C7E45 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.119 H 150.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2C7E45
RGBrgb(44, 126, 69)
HSLhsl(138, 48%, 33%)
HSVhsv(138, 65%, 49%)
CMYKcmyk(65.1%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.82, -38.16, 23.89)
CIE-LCHlch(46.82, 45.02, 147.95°)
OKLaboklab(52.86% -0.103 0.0589)
OKLCHoklch(52.86% 0.119 150.3)
XYZxyz(9.5730, 15.8859, 8.1909)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E45 #7E2C65
analogous
#3C7E2C #2C7E45 #2C7E6E
triadic
#2C7E45 #452C7E #7E452C
tetradic
#2C7E45 #2C3C7E #7E2C65 #7E6E2C
square
#2C7E45 #2C3C7E #7E2C65 #7E6E2C
split-complementary
#2C7E45 #6E2C7E #7E2C3C
monochromatic
#0C2313 #1C512C #2C7E45 #3CAB5E #5EC77E

Accessibility & contrast

On white

5.03
#2C7E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2C7E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E45
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E45#FFFFFF#000000##FFFFFF
##2C7E451.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7341
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#0F7C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7e45;
/* rgb */ color: rgb(44, 126, 69);
/* oklch */ color: oklch(52.9% 0.119 150.3);
Tailwind
colors: {
  custom: {
    50: '#6fa479',
    500: '#2c7e45',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e45;
$custom-light: #6fa479;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e45",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 138.293,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.11867,
    "h": 150.3
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#2C7E45
secondary
#AD5993
accent
#50AED8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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