#2C8D26#2C8D26

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

Color values

HEX#2C8D26
RGBrgb(44, 141, 38)
HSLhsl(117, 58%, 35%)
HSVhsv(117, 73%, 55%)
CMYKcmyk(68.8%, 0%, 73%, 44.7%)
CIE-LABlab(51.52, -48.03, 44.49)
CIE-LCHlch(51.52, 65.47, 137.19°)
OKLaboklab(56.63% -0.1307 0.1012)
OKLCHoklch(56.63% 0.165 142.3)
XYZxyz(10.9128, 19.7240, 5.0654)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D26 #87268D
analogous
#5F8D26 #2C8D26 #268D54
triadic
#2C8D26 #262C8D #8D262C
tetradic
#2C8D26 #265F8D #87268D #8D5426
square
#2C8D26 #265F8D #87268D #8D5426
split-complementary
#2C8D26 #54268D #8D265F
monochromatic
#0E2D0C #1D5D19 #2C8D26 #3BBD33 #62D35B

Accessibility & contrast

On white

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

On black

4.95
#2C8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D26
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D26#FFFFFF#000000##000000
##2C8D261.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#158979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d26;
/* rgb */ color: rgb(44, 141, 38);
/* oklch */ color: oklch(56.6% 0.165 142.3);
Tailwind
colors: {
  custom: {
    50: '#73af67',
    500: '#2c8d26',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d26;
$custom-light: #73af67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d26",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 116.505,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.16534,
    "h": 142.3
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#2C8D26
secondary
#B257B8
accent
#47E1D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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