#2C8A2D#2C8A2D

#2C8A2D is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.157 H 143.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C8A2D
RGBrgb(44, 138, 45)
HSLhsl(121, 52%, 36%)
HSVhsv(121, 68%, 54%)
CMYKcmyk(68.1%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.57, -46.27, 40.53)
CIE-LCHlch(50.57, 61.51, 138.79°)
OKLaboklab(55.86% -0.1256 0.0937)
OKLCHoklch(55.86% 0.157 143.3)
XYZxyz(10.6002, 18.9008, 5.5717)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A2D #8A2C89
analogous
#5A8A2C #2C8A2D #2C8A5C
triadic
#2C8A2D #2D2C8A #8A2D2C
tetradic
#2C8A2D #2C5A8A #8A2C89 #8A5C2C
square
#2C8A2D #2C5A8A #8A2C89 #8A5C2C
split-complementary
#2C8A2D #5C2C8A #8A2C5A
monochromatic
#0E2D0F #1D5C1E #2C8A2D #3BB83C #63CD64

Accessibility & contrast

On white

4.39
#2C8A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2C8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A2D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A2D#FFFFFF#000000##000000
##2C8A2D1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D21
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#158677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a2d;
/* rgb */ color: rgb(44, 138, 45);
/* oklch */ color: oklch(55.9% 0.157 143.3);
Tailwind
colors: {
  custom: {
    50: '#72ad6a',
    500: '#2c8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a2d;
$custom-light: #72ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a2d",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 120.638,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.15672,
    "h": 143.3
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#2C8A2D
secondary
#B45EB3
accent
#4DDADB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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