#2C8C23#2C8C23

#2C8C23 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.166 H 141.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2C8C23
RGBrgb(44, 140, 35)
HSLhsl(115, 60%, 34%)
HSVhsv(115, 75%, 55%)
CMYKcmyk(68.6%, 0%, 75%, 45.1%)
CIE-LABlab(51.17, -47.93, 45.29)
CIE-LCHlch(51.17, 65.95, 136.62°)
OKLaboklab(56.32% -0.1306 0.1025)
OKLCHoklch(56.32% 0.166 141.9)
XYZxyz(10.7196, 19.4119, 4.7717)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C23 #83238C
analogous
#618C23 #2C8C23 #238C4F
triadic
#2C8C23 #232C8C #8C232C
tetradic
#2C8C23 #23618C #83238C #8C4F23
square
#2C8C23 #23618C #83238C #8C4F23
split-complementary
#2C8C23 #4F238C #8C2361
monochromatic
#0D2A0B #1D5B17 #2C8C23 #3BBD2F #60D455

Accessibility & contrast

On white

4.30
#2C8C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2C8C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C23
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C23#FFFFFF#000000##000000
##2C8C231.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F0F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#178878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c23;
/* rgb */ color: rgb(44, 140, 35);
/* oklch */ color: oklch(56.3% 0.166 141.9);
Tailwind
colors: {
  custom: {
    50: '#73af65',
    500: '#2c8c23',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c23;
$custom-light: #73af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c23",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 114.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56323,
    "c": 0.16603,
    "h": 141.9
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#2C8C23
secondary
#B052B8
accent
#45E3D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8C23

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

Preview Lab → · Contrast checker → · Palette generator →

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