#2C8F2C#2C8F2C

#2C8F2C is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.164 H 143.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2C8F2C
RGBrgb(44, 143, 44)
HSLhsl(120, 53%, 37%)
HSVhsv(120, 69%, 56%)
CMYKcmyk(69.2%, 0%, 69.2%, 43.9%)
CIE-LABlab(52.24, -48.18, 42.77)
CIE-LCHlch(52.24, 64.43, 138.40°)
OKLaboklab(57.24% -0.1308 0.0984)
OKLCHoklch(57.24% 0.164 143.1)
XYZxyz(11.3151, 20.3611, 5.7161)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8F2C #8F2C8F
analogous
#5E8F2C #2C8F2C #2C8F5E
triadic
#2C8F2C #2C2C8F #8F2C2C
tetradic
#2C8F2C #2C5E8F #8F2C8F #8F5E2C
square
#2C8F2C #2C5E8F #8F2C8F #8F5E2C
split-complementary
#2C8F2C #5E2C8F #8F2C5E
monochromatic
#0F310F #1E601E #2C8F2C #3ABE3A #66D066

Accessibility & contrast

On white

4.14
#2C8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2C8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8F2C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8F2C#FFFFFF#000000##000000
##2C8F2C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#867A35
Tritanopia (blue-blind)
#128B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c8f2c;
/* rgb */ color: rgb(44, 143, 44);
/* oklch */ color: oklch(57.2% 0.164 143.1);
Tailwind
colors: {
  custom: {
    50: '#74b16a',
    500: '#2c8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2c8f2c;
$custom-light: #74b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8f2c",
  "rgb": {
    "r": 44,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 120,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.16368,
    "h": 143.1
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#2C8F2C
secondary
#B661B6
accent
#4BDCDC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2C8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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