#2C8D23#2C8D23

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

Color values

HEX#2C8D23
RGBrgb(44, 141, 35)
HSLhsl(115, 60%, 35%)
HSVhsv(115, 75%, 55%)
CMYKcmyk(68.8%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.50, -48.29, 45.63)
CIE-LCHlch(51.50, 66.44, 136.62°)
OKLaboklab(56.6% -0.1316 0.1032)
OKLCHoklch(56.6% 0.167 141.9)
XYZxyz(10.8664, 19.7054, 4.8207)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D23 #84238D
analogous
#618D23 #2C8D23 #238D4F
triadic
#2C8D23 #232C8D #8D232C
tetradic
#2C8D23 #23618D #84238D #8D4F23
square
#2C8D23 #23618D #84238D #8D4F23
split-complementary
#2C8D23 #4F238D #8D2361
monochromatic
#0D2B0B #1D5C17 #2C8D23 #3BBE2F #60D555

Accessibility & contrast

On white

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

On black

4.94
#2C8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D23
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D23#FFFFFF#000000##000000
##2C8D231.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#168978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d23;
/* rgb */ color: rgb(44, 141, 35);
/* oklch */ color: oklch(56.6% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#74af65',
    500: '#2c8d23',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d23;
$custom-light: #74af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d23",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 114.906,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.16722,
    "h": 141.9
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#2C8D23
secondary
#B053B9
accent
#44E3D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2C8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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