#2C8A24#2C8A24

#2C8A24 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.163 H 142.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C8A24
RGBrgb(44, 138, 36)
HSLhsl(115, 59%, 34%)
HSVhsv(115, 74%, 54%)
CMYKcmyk(68.1%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.50, -47.14, 44.22)
CIE-LCHlch(50.50, 64.63, 136.83°)
OKLaboklab(55.77% -0.1284 0.1004)
OKLCHoklch(55.77% 0.163 142)
XYZxyz(10.4450, 18.8387, 4.7545)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A24 #82248A
analogous
#5F8A24 #2C8A24 #248A4F
triadic
#2C8A24 #242C8A #8A242C
tetradic
#2C8A24 #245F8A #82248A #8A4F24
square
#2C8A24 #245F8A #82248A #8A4F24
split-complementary
#2C8A24 #4F248A #8A245F
monochromatic
#0D290B #1D5917 #2C8A24 #3BBB31 #5FD356

Accessibility & contrast

On white

4.40
#2C8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2C8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A24
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A24#FFFFFF#000000##000000
##2C8A241.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#188676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a24;
/* rgb */ color: rgb(44, 138, 36);
/* oklch */ color: oklch(55.8% 0.163 142.0);
Tailwind
colors: {
  custom: {
    50: '#73ad65',
    500: '#2c8a24',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a24;
$custom-light: #73ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a24",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 115.294,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.163,
    "h": 142
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#2C8A24
secondary
#AF53B7
accent
#46E2D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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