#2C8D17#2C8D17

#2C8D17 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.173 H 140.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2C8D17
RGBrgb(44, 141, 23)
HSLhsl(109, 72%, 32%)
HSVhsv(109, 84%, 55%)
CMYKcmyk(68.8%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.43, -49.11, 49.57)
CIE-LCHlch(51.43, 69.78, 134.73°)
OKLaboklab(56.52% -0.1344 0.1097)
OKLCHoklch(56.52% 0.173 140.8)
XYZxyz(10.7177, 19.6460, 4.0377)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D17 #78178D
analogous
#678D17 #2C8D17 #178D3D
triadic
#2C8D17 #172C8D #8D172C
tetradic
#2C8D17 #17678D #78178D #8D3D17
square
#2C8D17 #17678D #78178D #8D3D17
split-complementary
#2C8D17 #3D178D #8D1767
monochromatic
#0B2406 #1C580E #2C8D17 #3CC220 #5BE03F

Accessibility & contrast

On white

4.26
#2C8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2C8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D17
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D17#FFFFFF#000000##000000
##2C8D171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#198878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d17;
/* rgb */ color: rgb(44, 141, 23);
/* oklch */ color: oklch(56.5% 0.173 140.8);
Tailwind
colors: {
  custom: {
    50: '#74af60',
    500: '#2c8d17',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d17;
$custom-light: #74af60;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d17",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 109.322,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.17349,
    "h": 140.8
  },
  "luminance": 0.19647
}

Semantic roles & 50–950 ramp

primary
#2C8D17
secondary
#A940C0
accent
#39EFCE
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2C8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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