#2C8C2D#2C8C2D

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

Color values

HEX#2C8C2D
RGBrgb(44, 140, 45)
HSLhsl(121, 52%, 36%)
HSVhsv(121, 69%, 55%)
CMYKcmyk(68.6%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.24, -47.00, 41.26)
CIE-LCHlch(51.24, 62.54, 138.72°)
OKLaboklab(56.41% -0.1276 0.0953)
OKLCHoklch(56.41% 0.159 143.2)
XYZxyz(10.8898, 19.4800, 5.6682)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C2D #8C2C8B
analogous
#5B8C2C #2C8C2D #2C8C5D
triadic
#2C8C2D #2D2C8C #8C2D2C
tetradic
#2C8C2D #2C5B8C #8C2C8B #8C5D2C
square
#2C8C2D #2C5B8C #8C2C8B #8C5D2C
split-complementary
#2C8C2D #5D2C8C #8C2C5B
monochromatic
#0F2F0F #1D5D1E #2C8C2D #3BBB3C #64CE65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8C2D#FFFFFF#000000##000000
##2C8C2D1.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)
#8F7F21
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#148878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c2d;
/* rgb */ color: rgb(44, 140, 45);
/* oklch */ color: oklch(56.4% 0.159 143.2);
Tailwind
colors: {
  custom: {
    50: '#73af6b',
    500: '#2c8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c2d;
$custom-light: #73af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c2d",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 120.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.15923,
    "h": 143.2
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#2C8C2D
secondary
#B55FB4
accent
#4CDADC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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