#2C8A27#2C8A27

#2C8A27 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.161 H 142.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C8A27
RGBrgb(44, 138, 39)
HSLhsl(117, 56%, 35%)
HSVhsv(117, 72%, 54%)
CMYKcmyk(68.1%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.52, -46.87, 43.04)
CIE-LCHlch(50.52, 63.63, 137.44°)
OKLaboklab(55.8% -0.1275 0.0983)
OKLCHoklch(55.8% 0.161 142.4)
XYZxyz(10.4928, 18.8578, 5.0060)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8A27 #85278A
analogous
#5D8A27 #2C8A27 #278A54
triadic
#2C8A27 #272C8A #8A272C
tetradic
#2C8A27 #275D8A #85278A #8A5427
square
#2C8A27 #275D8A #85278A #8A5427
split-complementary
#2C8A27 #54278A #8A275D
monochromatic
#0E2B0C #1D5A1A #2C8A27 #3BBA34 #61D15B

Accessibility & contrast

On white

4.40
#2C8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2C8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8A27
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8A27#FFFFFF#000000##000000
##2C8A271.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#827531
Tritanopia (blue-blind)
#178676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c8a27;
/* rgb */ color: rgb(44, 138, 39);
/* oklch */ color: oklch(55.8% 0.161 142.4);
Tailwind
colors: {
  custom: {
    50: '#73ad67',
    500: '#2c8a27',
    950: '#000000',
  },
}
SCSS
$custom: #2c8a27;
$custom-light: #73ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8a27",
  "rgb": {
    "r": 44,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 116.97,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.16103,
    "h": 142.4
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#2C8A27
secondary
#B157B6
accent
#49DFD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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