#2C8C2E#2C8C2E

#2C8C2E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.158 H 143.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C8C2E
RGBrgb(44, 140, 46)
HSLhsl(121, 52%, 36%)
HSVhsv(121, 69%, 55%)
CMYKcmyk(68.6%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.25, -46.89, 40.83)
CIE-LCHlch(51.25, 62.18, 138.96°)
OKLaboklab(56.42% -0.1272 0.0945)
OKLCHoklch(56.42% 0.158 143.4)
XYZxyz(10.9093, 19.4878, 5.7708)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C2E #8C2C8A
analogous
#5A8C2C #2C8C2E #2C8C5E
triadic
#2C8C2E #2E2C8C #8C2E2C
tetradic
#2C8C2E #2C5A8C #8C2C8A #8C5E2C
square
#2C8C2E #2C5A8C #8C2C8A #8C5E2C
split-complementary
#2C8C2E #5E2C8C #8C2C5A
monochromatic
#0F2F0F #1D5D1F #2C8C2E #3BBB3D #64CE66

Accessibility & contrast

On white

4.29
#2C8C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2C8C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C2E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C2E#FFFFFF#000000##000000
##2C8C2E1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#138879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c2e;
/* rgb */ color: rgb(44, 140, 46);
/* oklch */ color: oklch(56.4% 0.158 143.4);
Tailwind
colors: {
  custom: {
    50: '#73af6b',
    500: '#2c8c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c2e;
$custom-light: #73af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c2e",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 121.25,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.15848,
    "h": 143.4
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#2C8C2E
secondary
#B55FB3
accent
#4CD9DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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