#2C8D27#2C8D27

#2C8D27 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.165 H 142.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2C8D27
RGBrgb(44, 141, 39)
HSLhsl(117, 57%, 35%)
HSVhsv(117, 72%, 55%)
CMYKcmyk(68.8%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.53, -47.94, 44.10)
CIE-LCHlch(51.53, 65.14, 137.39°)
OKLaboklab(56.64% -0.1304 0.1005)
OKLCHoklch(56.64% 0.165 142.4)
XYZxyz(10.9292, 19.7306, 5.1515)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D27 #88278D
analogous
#5F8D27 #2C8D27 #278D55
triadic
#2C8D27 #272C8D #8D272C
tetradic
#2C8D27 #275F8D #88278D #8D5527
square
#2C8D27 #275F8D #88278D #8D5527
split-complementary
#2C8D27 #55278D #8D275F
monochromatic
#0E2D0C #1D5D1A #2C8D27 #3BBD34 #62D25C

Accessibility & contrast

On white

4.25
#2C8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2C8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D27
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D27#FFFFFF#000000##000000
##2C8D271.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#158979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d27;
/* rgb */ color: rgb(44, 141, 39);
/* oklch */ color: oklch(56.6% 0.165 142.4);
Tailwind
colors: {
  custom: {
    50: '#73af67',
    500: '#2c8d27',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d27;
$custom-light: #73af67;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d27",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 117.059,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.16468,
    "h": 142.4
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#2C8D27
secondary
#B359B7
accent
#48E0D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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