#2C8126#2C8126

#2C8126 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.150 H 142.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2C8126
RGBrgb(44, 129, 38)
HSLhsl(116, 54%, 33%)
HSVhsv(116, 71%, 51%)
CMYKcmyk(65.9%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.46, -43.66, 40.23)
CIE-LCHlch(47.46, 59.37, 137.34°)
OKLaboklab(53.26% -0.1189 0.0923)
OKLCHoklch(53.26% 0.151 142.2)
XYZxyz(9.2383, 16.3750, 4.5072)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8126 #7B2681
analogous
#598126 #2C8126 #26814D
triadic
#2C8126 #262C81 #81262C
tetradic
#2C8126 #265981 #7B2681 #814D26
square
#2C8126 #265981 #7B2681 #814D26
split-complementary
#2C8126 #4D2681 #812659
monochromatic
#0C220A #1C5218 #2C8126 #3CB034 #5DCD55

Accessibility & contrast

On white

4.91
#2C8126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2C8126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8126
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8126#FFFFFF#000000##FFFFFF
##2C81261.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#7A6E2F
Tritanopia (blue-blind)
#1C7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8126;
/* rgb */ color: rgb(44, 129, 38);
/* oklch */ color: oklch(53.3% 0.150 142.2);
Tailwind
colors: {
  custom: {
    50: '#71a665',
    500: '#2c8126',
    950: '#000000',
  },
}
SCSS
$custom: #2c8126;
$custom-light: #71a665;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8126",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 116.044,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53264,
    "c": 0.1505,
    "h": 142.2
  },
  "luminance": 0.16376
}

Semantic roles & 50–950 ramp

primary
#2C8126
secondary
#AB51B1
accent
#4ADED4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C8126

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

Preview Lab → · Contrast checker → · Palette generator →

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