#2C8B26#2C8B26

#2C8B26 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.163 H 142.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C8B26
RGBrgb(44, 139, 38)
HSLhsl(116, 57%, 35%)
HSVhsv(116, 73%, 55%)
CMYKcmyk(68.3%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.85, -47.32, 43.79)
CIE-LCHlch(50.85, 64.47, 137.22°)
OKLaboklab(56.07% -0.1288 0.0997)
OKLCHoklch(56.07% 0.163 142.2)
XYZxyz(10.6206, 19.1396, 4.9679)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B26 #85268B
analogous
#5E8B26 #2C8B26 #268B53
triadic
#2C8B26 #262C8B #8B262C
tetradic
#2C8B26 #265E8B #85268B #8B5326
square
#2C8B26 #265E8B #85268B #8B5326
split-complementary
#2C8B26 #53268B #8B265E
monochromatic
#0E2B0C #1D5B19 #2C8B26 #3BBB33 #61D25A

Accessibility & contrast

On white

4.35
#2C8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2C8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8B26
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8B26#FFFFFF#000000##000000
##2C8B261.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E16
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#178777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b26;
/* rgb */ color: rgb(44, 139, 38);
/* oklch */ color: oklch(56.1% 0.163 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ae67',
    500: '#2c8b26',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b26;
$custom-light: #73ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b26",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 116.436,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.16291,
    "h": 142.2
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#2C8B26
secondary
#B156B7
accent
#47E0D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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