#2C8826#2C8826

#2C8826 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.159 H 142.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2C8826
RGBrgb(44, 136, 38)
HSLhsl(116, 56%, 34%)
HSVhsv(116, 72%, 53%)
CMYKcmyk(67.6%, 0%, 72.1%, 46.7%)
CIE-LABlab(49.84, -46.24, 42.74)
CIE-LCHlch(49.84, 62.96, 137.25°)
OKLaboklab(55.23% -0.1259 0.0975)
OKLCHoklch(55.23% 0.159 142.2)
XYZxyz(10.1921, 18.2827, 4.8251)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8826 #822688
analogous
#5D8826 #2C8826 #268851
triadic
#2C8826 #262C88 #88262C
tetradic
#2C8826 #265D88 #822688 #885126
square
#2C8826 #265D88 #822688 #885126
split-complementary
#2C8826 #512688 #88265D
monochromatic
#0D280B #1D5819 #2C8826 #3BB833 #5FD058

Accessibility & contrast

On white

4.51
#2C8826 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2C8826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8826
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8826#FFFFFF#000000##000000
##2C88261.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#807430
Tritanopia (blue-blind)
#188474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c8826;
/* rgb */ color: rgb(44, 136, 38);
/* oklch */ color: oklch(55.2% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#72ac66',
    500: '#2c8826',
    950: '#000000',
  },
}
SCSS
$custom: #2c8826;
$custom-light: #72ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8826",
  "rgb": {
    "r": 44,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 116.327,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.15924,
    "h": 142.2
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#2C8826
secondary
#AF55B5
accent
#48E0D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8826

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

Preview Lab → · Contrast checker → · Palette generator →

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