#2C8129#2C8129

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

Color values

HEX#2C8129
RGBrgb(44, 129, 41)
HSLhsl(118, 52%, 33%)
HSVhsv(118, 68%, 51%)
CMYKcmyk(65.9%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.49, -43.35, 38.95)
CIE-LCHlch(47.49, 58.28, 138.06°)
OKLaboklab(53.29% -0.1179 0.0899)
OKLCHoklch(53.29% 0.148 142.7)
XYZxyz(9.2887, 16.3952, 4.7725)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8129 #7E2981
analogous
#588129 #2C8129 #298152
triadic
#2C8129 #292C81 #81292C
tetradic
#2C8129 #295881 #7E2981 #815229
square
#2C8129 #295881 #7E2981 #815229
split-complementary
#2C8129 #522981 #812958
monochromatic
#0C240B #1C531A #2C8129 #3CAF38 #5ECB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8129#FFFFFF#000000##FFFFFF
##2C81291.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)
#84751E
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#1B7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c8129;
/* rgb */ color: rgb(44, 129, 41);
/* oklch */ color: oklch(53.3% 0.148 142.7);
Tailwind
colors: {
  custom: {
    50: '#71a667',
    500: '#2c8129',
    950: '#000000',
  },
}
SCSS
$custom: #2c8129;
$custom-light: #71a667;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8129",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 117.955,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.14829,
    "h": 142.7
  },
  "luminance": 0.16396
}

Semantic roles & 50–950 ramp

primary
#2C8129
secondary
#AD56B0
accent
#4DDBD6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C8129

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

Preview Lab → · Contrast checker → · Palette generator →

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