#2C8A2C#2C8A2C

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

Color values

HEX#2C8A2C
RGBrgb(44, 138, 44)
HSLhsl(120, 52%, 36%)
HSVhsv(120, 68%, 54%)
CMYKcmyk(68.1%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.56, -46.38, 40.96)
CIE-LCHlch(50.56, 61.87, 138.55°)
OKLaboklab(55.85% -0.1259 0.0945)
OKLCHoklch(55.85% 0.157 143.1)
XYZxyz(10.5812, 18.8932, 5.4715)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A2C #8A2C8A
analogous
#5B8A2C #2C8A2C #2C8A5B
triadic
#2C8A2C #2C2C8A #8A2C2C
tetradic
#2C8A2C #2C5B8A #8A2C8A #8A5B2C
square
#2C8A2C #2C5B8A #8A2C8A #8A5B2C
split-complementary
#2C8A2C #5B2C8A #8A2C5B
monochromatic
#0E2D0E #1D5C1D #2C8A2C #3BB83B #63CD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8A2C#FFFFFF#000000##000000
##2C8A2C1.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)
#8D7D20
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#158677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a2c;
/* rgb */ color: rgb(44, 138, 44);
/* oklch */ color: oklch(55.8% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#72ad6a',
    500: '#2c8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a2c;
$custom-light: #72ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a2c",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.15747,
    "h": 143.1
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#2C8A2C
secondary
#B45EB4
accent
#4DDBDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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