#2C9826#2C9826

#2C9826 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.178 H 142.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2C9826
RGBrgb(44, 152, 38)
HSLhsl(117, 60%, 37%)
HSVhsv(117, 75%, 60%)
CMYKcmyk(71.1%, 0%, 75%, 40.4%)
CIE-LABlab(55.21, -51.87, 48.25)
CIE-LCHlch(55.21, 70.84, 137.07°)
OKLaboklab(59.68% -0.1411 0.1091)
OKLCHoklch(59.68% 0.178 142.3)
XYZxyz(12.6161, 23.1305, 5.6331)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C9826 #922698
analogous
#659826 #2C9826 #269859
triadic
#2C9826 #262C98 #98262C
tetradic
#2C9826 #266598 #922698 #985926
square
#2C9826 #266598 #922698 #985926
split-complementary
#2C9826 #592698 #982665
monochromatic
#10360E #1E671A #2C9826 #3AC932 #67D761

Accessibility & contrast

On white

3.73
#2C9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2C9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C9826
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C9826#FFFFFF#000000##000000
##2C98261.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8910
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#0D9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2c9826;
/* rgb */ color: rgb(44, 152, 38);
/* oklch */ color: oklch(59.7% 0.178 142.3);
Tailwind
colors: {
  custom: {
    50: '#76b768',
    500: '#2c9826',
    950: '#000000',
  },
}
SCSS
$custom: #2c9826;
$custom-light: #76b768;
$custom-dark: #000000;
JSON
{
  "hex": "#2c9826",
  "rgb": {
    "r": 44,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 116.842,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5968,
    "c": 0.17835,
    "h": 142.3
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#2C9826
secondary
#B85DBD
accent
#45E3DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2C9826

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

Preview Lab → · Contrast checker → · Palette generator →

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