#2C7E54#2C7E54

#2C7E54 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.104 H 157.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2C7E54
RGBrgb(44, 126, 84)
HSLhsl(149, 48%, 33%)
HSVhsv(149, 65%, 49%)
CMYKcmyk(65.1%, 0%, 33.3%, 50.6%)
CIE-LABlab(47.10, -35.17, 15.76)
CIE-LCHlch(47.10, 38.54, 155.86°)
OKLaboklab(53.18% -0.0957 0.0398)
OKLCHoklch(53.18% 0.104 157.4)
XYZxyz(10.0989, 16.0962, 10.9605)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E54 #7E2C56
analogous
#2D7E2C #2C7E54 #2C7E7D
triadic
#2C7E54 #542C7E #7E542C
tetradic
#2C7E54 #2C2D7E #7E2C56 #7E7D2C
square
#2C7E54 #2C2D7E #7E2C56 #7E7D2C
split-complementary
#2C7E54 #7D2C7E #7E2C2D
monochromatic
#0C2318 #1C5136 #2C7E54 #3CAB72 #5EC791

Accessibility & contrast

On white

4.98
#2C7E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2C7E54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E54
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E54#FFFFFF#000000##FFFFFF
##2C7E541.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7451
Deuteranopia (green-blind)
#726D57
Tritanopia (blue-blind)
#007D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7e54;
/* rgb */ color: rgb(44, 126, 84);
/* oklch */ color: oklch(53.2% 0.104 157.4);
Tailwind
colors: {
  custom: {
    50: '#6fa484',
    500: '#2c7e54',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e54;
$custom-light: #6fa484;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e54",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 84
  },
  "hsl": {
    "h": 149.268,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.10364,
    "h": 157.4
  },
  "luminance": 0.16097
}

Semantic roles & 50–950 ramp

primary
#2C7E54
secondary
#AD5984
accent
#5096D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2C7E54

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

Preview Lab → · Contrast checker → · Palette generator →

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