#2C8727#2C8727

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

Color values

HEX#2C8727
RGBrgb(44, 135, 39)
HSLhsl(117, 55%, 34%)
HSVhsv(117, 71%, 53%)
CMYKcmyk(67.4%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.51, -45.78, 41.98)
CIE-LCHlch(49.51, 62.11, 137.48°)
OKLaboklab(54.96% -0.1246 0.0961)
OKLCHoklch(54.96% 0.157 142.4)
XYZxyz(10.0683, 18.0089, 4.8645)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8727 #822787
analogous
#5C8727 #2C8727 #278752
triadic
#2C8727 #272C87 #87272C
tetradic
#2C8727 #275C87 #822787 #875227
square
#2C8727 #275C87 #822787 #875227
split-complementary
#2C8727 #522787 #87275C
monochromatic
#0D280C #1D5819 #2C8727 #3BB635 #5FCF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8727#FFFFFF#000000##000000
##2C87271.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)
#8A7A19
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#188374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8727;
/* rgb */ color: rgb(44, 135, 39);
/* oklch */ color: oklch(55.0% 0.157 142.4);
Tailwind
colors: {
  custom: {
    50: '#72ab67',
    500: '#2c8727',
    950: '#000000',
  },
}
SCSS
$custom: #2c8727;
$custom-light: #72ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8727",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 116.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.15732,
    "h": 142.4
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#2C8727
secondary
#AF56B4
accent
#49DFD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8727

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

Preview Lab → · Contrast checker → · Palette generator →

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