#2C8D24#2C8D24

#2C8D24 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.167 H 142.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C8D24
RGBrgb(44, 141, 36)
HSLhsl(115, 59%, 35%)
HSVhsv(115, 74%, 55%)
CMYKcmyk(68.8%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.51, -48.21, 45.26)
CIE-LCHlch(51.51, 66.12, 136.81°)
OKLaboklab(56.61% -0.1313 0.1025)
OKLCHoklch(56.61% 0.167 142)
XYZxyz(10.8814, 19.7115, 4.9000)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D24 #85248D
analogous
#608D24 #2C8D24 #248D51
triadic
#2C8D24 #242C8D #8D242C
tetradic
#2C8D24 #24608D #85248D #8D5124
square
#2C8D24 #24608D #85248D #8D5124
split-complementary
#2C8D24 #51248D #8D2460
monochromatic
#0E2B0B #1D5C18 #2C8D24 #3BBE30 #61D457

Accessibility & contrast

On white

4.25
#2C8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2C8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D24
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D24#FFFFFF#000000##000000
##2C8D241.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908011
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#168979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d24;
/* rgb */ color: rgb(44, 141, 36);
/* oklch */ color: oklch(56.6% 0.167 142.0);
Tailwind
colors: {
  custom: {
    50: '#74af66',
    500: '#2c8d24',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d24;
$custom-light: #74af66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d24",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 115.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.16661,
    "h": 142
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#2C8D24
secondary
#B154B8
accent
#45E3D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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