#2C8C2C#2C8C2C

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

Color values

HEX#2C8C2C
RGBrgb(44, 140, 44)
HSLhsl(120, 52%, 36%)
HSVhsv(120, 69%, 55%)
CMYKcmyk(68.6%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.24, -47.10, 41.69)
CIE-LCHlch(51.24, 62.90, 138.49°)
OKLaboklab(56.4% -0.1279 0.0961)
OKLCHoklch(56.4% 0.16 143.1)
XYZxyz(10.8708, 19.4724, 5.5680)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C2C #8C2C8C
analogous
#5C8C2C #2C8C2C #2C8C5C
triadic
#2C8C2C #2C2C8C #8C2C2C
tetradic
#2C8C2C #2C5C8C #8C2C8C #8C5C2C
square
#2C8C2C #2C5C8C #8C2C8C #8C5C2C
split-complementary
#2C8C2C #5C2C8C #8C2C5C
monochromatic
#0F2F0F #1D5D1D #2C8C2C #3BBB3B #64CE64

Accessibility & contrast

On white

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

On black

4.89
#2C8C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C2C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C2C#FFFFFF#000000##000000
##2C8C2C1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#148878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c2c;
/* rgb */ color: rgb(44, 140, 44);
/* oklch */ color: oklch(56.4% 0.160 143.1);
Tailwind
colors: {
  custom: {
    50: '#73af6a',
    500: '#2c8c2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c2c;
$custom-light: #73af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c2c",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.15998,
    "h": 143.1
  },
  "luminance": 0.19473
}

Semantic roles & 50–950 ramp

primary
#2C8C2C
secondary
#B55FB5
accent
#4CDCDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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