#2C8B27#2C8B27

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

Color values

HEX#2C8B27
RGBrgb(44, 139, 39)
HSLhsl(117, 56%, 35%)
HSVhsv(117, 72%, 55%)
CMYKcmyk(68.3%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.86, -47.23, 43.39)
CIE-LCHlch(50.86, 64.14, 137.42°)
OKLaboklab(56.08% -0.1285 0.099)
OKLCHoklch(56.08% 0.162 142.4)
XYZxyz(10.6369, 19.1461, 5.0541)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8B27 #86278B
analogous
#5E8B27 #2C8B27 #278B54
triadic
#2C8B27 #272C8B #8B272C
tetradic
#2C8B27 #275E8B #86278B #8B5427
square
#2C8B27 #275E8B #86278B #8B5427
split-complementary
#2C8B27 #54278B #8B275E
monochromatic
#0E2B0C #1D5B1A #2C8B27 #3BBB34 #61D15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8B27#FFFFFF#000000##000000
##2C8B271.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)
#8E7E17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#168777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8b27;
/* rgb */ color: rgb(44, 139, 39);
/* oklch */ color: oklch(56.1% 0.162 142.4);
Tailwind
colors: {
  custom: {
    50: '#73ae67',
    500: '#2c8b27',
    950: '#000000',
  },
}
SCSS
$custom: #2c8b27;
$custom-light: #73ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8b27",
  "rgb": {
    "r": 44,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 117,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.16225,
    "h": 142.4
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#2C8B27
secondary
#B158B6
accent
#48DFD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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