#2C8C2F#2C8C2F

#2C8C2F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.158 H 143.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C8C2F
RGBrgb(44, 140, 47)
HSLhsl(122, 52%, 36%)
HSVhsv(122, 69%, 55%)
CMYKcmyk(68.6%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.26, -46.78, 40.39)
CIE-LCHlch(51.26, 61.81, 139.20°)
OKLaboklab(56.43% -0.1269 0.0937)
OKLCHoklch(56.43% 0.158 143.6)
XYZxyz(10.9292, 19.4957, 5.8759)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C2F #8C2C89
analogous
#598C2C #2C8C2F #2C8C5F
triadic
#2C8C2F #2F2C8C #8C2F2C
tetradic
#2C8C2F #2C598C #8C2C89 #8C5F2C
square
#2C8C2F #2C598C #8C2C89 #8C5F2C
split-complementary
#2C8C2F #5F2C8C #8C2C59
monochromatic
#0F2F10 #1D5D1F #2C8C2F #3BBB3F #64CE67

Accessibility & contrast

On white

4.29
#2C8C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2C8C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8C2F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8C2F#FFFFFF#000000##000000
##2C8C2F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#138879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c2f;
/* rgb */ color: rgb(44, 140, 47);
/* oklch */ color: oklch(56.4% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#73af6c',
    500: '#2c8c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c2f;
$custom-light: #73af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c2f",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 121.875,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.15772,
    "h": 143.6
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#2C8C2F
secondary
#B55FB2
accent
#4CD7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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