#2C8048#2C8048

#2C8048 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.5% C 0.119 H 151.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C8048
RGBrgb(44, 128, 72)
HSLhsl(140, 49%, 34%)
HSVhsv(140, 66%, 50%)
CMYKcmyk(65.6%, 0%, 43.8%, 49.8%)
CIE-LABlab(47.55, -38.45, 23.16)
CIE-LCHlch(47.55, 44.88, 148.94°)
OKLaboklab(53.47% -0.1038 0.0573)
OKLCHoklch(53.47% 0.119 151.1)
XYZxyz(9.9268, 16.4407, 8.7799)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8048 #802C64
analogous
#3A802C #2C8048 #2C8072
triadic
#2C8048 #482C80 #80482C
tetradic
#2C8048 #2C3A80 #802C64 #80722C
square
#2C8048 #2C3A80 #802C64 #80722C
split-complementary
#2C8048 #722C80 #802C3A
monochromatic
#0D2515 #1C522E #2C8048 #3CAE62 #5FC882

Accessibility & contrast

On white

4.90
#2C8048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2C8048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8048
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8048#FFFFFF#000000##FFFFFF
##2C80481.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817544
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#0B7E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8048;
/* rgb */ color: rgb(44, 128, 72);
/* oklch */ color: oklch(53.5% 0.119 151.1);
Tailwind
colors: {
  custom: {
    50: '#6fa67b',
    500: '#2c8048',
    950: '#000000',
  },
}
SCSS
$custom: #2c8048;
$custom-light: #6fa67b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8048",
  "rgb": {
    "r": 44,
    "g": 128,
    "b": 72
  },
  "hsl": {
    "h": 140,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.11857,
    "h": 151.1
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#2C8048
secondary
#AE5A92
accent
#4FABD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2C8048

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

Preview Lab → · Contrast checker → · Palette generator →

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