#2C8124#2C8124

#2C8124 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.152 H 141.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2C8124
RGBrgb(44, 129, 36)
HSLhsl(115, 56%, 32%)
HSVhsv(115, 72%, 51%)
CMYKcmyk(65.9%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.45, -43.85, 41.06)
CIE-LCHlch(47.45, 60.07, 136.88°)
OKLaboklab(53.25% -0.1195 0.0938)
OKLCHoklch(53.25% 0.152 141.9)
XYZxyz(9.2069, 16.3625, 4.3418)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8124 #792481
analogous
#5A8124 #2C8124 #24814B
triadic
#2C8124 #242C81 #81242C
tetradic
#2C8124 #245A81 #792481 #814B24
square
#2C8124 #245A81 #792481 #814B24
split-complementary
#2C8124 #4B2481 #81245A
monochromatic
#0B2109 #1C5117 #2C8124 #3CB131 #5CCE51

Accessibility & contrast

On white

4.92
#2C8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2C8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8124
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8124#FFFFFF#000000##FFFFFF
##2C81241.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847516
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#1C7D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8124;
/* rgb */ color: rgb(44, 129, 36);
/* oklch */ color: oklch(53.2% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#71a664',
    500: '#2c8124',
    950: '#000000',
  },
}
SCSS
$custom: #2c8124;
$custom-light: #71a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8124",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 114.839,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.15191,
    "h": 141.9
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#2C8124
secondary
#AA4EB2
accent
#48E0D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C8124

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

Preview Lab → · Contrast checker → · Palette generator →

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