#2C8F23#2C8F23

#2C8F23 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.170 H 141.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2C8F23
RGBrgb(44, 143, 35)
HSLhsl(115, 61%, 35%)
HSVhsv(115, 76%, 56%)
CMYKcmyk(69.2%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.18, -48.99, 46.31)
CIE-LCHlch(52.18, 67.42, 136.61°)
OKLaboklab(57.16% -0.1335 0.1046)
OKLCHoklch(57.16% 0.17 141.9)
XYZxyz(11.1639, 20.3006, 4.9198)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F23 #86238F
analogous
#628F23 #2C8F23 #238F50
triadic
#2C8F23 #232C8F #8F232C
tetradic
#2C8F23 #23628F #86238F #8F5023
square
#2C8F23 #23628F #86238F #8F5023
split-complementary
#2C8F23 #50238F #8F2362
monochromatic
#0E2D0B #1D5E17 #2C8F23 #3BC02F #61D657

Accessibility & contrast

On white

4.15
#2C8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2C8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F23
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F23#FFFFFF#000000##000000
##2C8F231.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#158B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2c8f23;
/* rgb */ color: rgb(44, 143, 35);
/* oklch */ color: oklch(57.2% 0.170 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b165',
    500: '#2c8f23',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f23;
$custom-light: #74b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f23",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 115,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.16959,
    "h": 141.9
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#2C8F23
secondary
#B154BA
accent
#44E4D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2C8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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