#2C8138#2C8138

#2C8138 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.136 H 145.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C8138
RGBrgb(44, 129, 56)
HSLhsl(128, 49%, 34%)
HSVhsv(128, 66%, 51%)
CMYKcmyk(65.9%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.65, -41.48, 31.88)
CIE-LCHlch(47.65, 52.32, 142.45°)
OKLaboklab(53.48% -0.1121 0.0762)
OKLCHoklch(53.48% 0.136 145.8)
XYZxyz(9.6021, 16.5205, 6.4234)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8138 #812C75
analogous
#4B812C #2C8138 #2C8163
triadic
#2C8138 #382C81 #81382C
tetradic
#2C8138 #2C4B81 #812C75 #81632C
square
#2C8138 #2C4B81 #812C75 #81632C
split-complementary
#2C8138 #632C81 #812C4B
monochromatic
#0D2610 #1C5324 #2C8138 #3CAF4C #5FC86E

Accessibility & contrast

On white

4.88
#2C8138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2C8138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8138
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8138#FFFFFF#000000##FFFFFF
##2C81381.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837531
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#157E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8138;
/* rgb */ color: rgb(44, 129, 56);
/* oklch */ color: oklch(53.5% 0.136 145.8);
Tailwind
colors: {
  custom: {
    50: '#70a671',
    500: '#2c8138',
    950: '#000000',
  },
}
SCSS
$custom: #2c8138;
$custom-light: #70a671;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8138",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 128.471,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53479,
    "c": 0.13558,
    "h": 145.8
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#2C8138
secondary
#AF5AA3
accent
#4FC5D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C8138

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

Preview Lab → · Contrast checker → · Palette generator →

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