#2C8729#2C8729

#2C8729 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.156 H 142.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2C8729
RGBrgb(44, 135, 41)
HSLhsl(118, 53%, 35%)
HSVhsv(118, 70%, 53%)
CMYKcmyk(67.4%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.52, -45.58, 41.14)
CIE-LCHlch(49.52, 61.41, 137.93°)
OKLaboklab(54.98% -0.1239 0.0946)
OKLCHoklch(54.98% 0.156 142.7)
XYZxyz(10.1023, 18.0225, 5.0437)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8729 #842987
analogous
#5B8729 #2C8729 #298755
triadic
#2C8729 #292C87 #87292C
tetradic
#2C8729 #295B87 #842987 #875529
square
#2C8729 #295B87 #842987 #875529
split-complementary
#2C8729 #552987 #87295B
monochromatic
#0D290C #1D581B #2C8729 #3BB637 #60CE5D

Accessibility & contrast

On white

4.56
#2C8729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2C8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8729
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8729#FFFFFF#000000##000000
##2C87291.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#188374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8729;
/* rgb */ color: rgb(44, 135, 41);
/* oklch */ color: oklch(55.0% 0.156 142.7);
Tailwind
colors: {
  custom: {
    50: '#72ab68',
    500: '#2c8729',
    950: '#000000',
  },
}
SCSS
$custom: #2c8729;
$custom-light: #72ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8729",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 118.085,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.15591,
    "h": 142.7
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#2C8729
secondary
#B059B3
accent
#4BDDD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8729

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

Preview Lab → · Contrast checker → · Palette generator →

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