#2C8C31#2C8C31

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

Color values

HEX#2C8C31
RGBrgb(44, 140, 49)
HSLhsl(123, 52%, 36%)
HSVhsv(123, 69%, 55%)
CMYKcmyk(68.6%, 0%, 65%, 45.1%)
CIE-LABlab(51.28, -46.56, 39.50)
CIE-LCHlch(51.28, 61.06, 139.69°)
OKLaboklab(56.46% -0.1262 0.092)
OKLCHoklch(56.46% 0.156 143.9)
XYZxyz(10.9705, 19.5122, 6.0932)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C31 #8C2C87
analogous
#578C2C #2C8C31 #2C8C61
triadic
#2C8C31 #312C8C #8C312C
tetradic
#2C8C31 #2C578C #8C2C87 #8C612C
square
#2C8C31 #2C578C #8C2C87 #8C612C
split-complementary
#2C8C31 #612C8C #8C2C57
monochromatic
#0F2F10 #1D5D21 #2C8C31 #3BBB41 #64CE6A

Accessibility & contrast

On white

4.28
#2C8C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8C31#FFFFFF#000000##000000
##2C8C311.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#128879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c31;
/* rgb */ color: rgb(44, 140, 49);
/* oklch */ color: oklch(56.5% 0.156 143.9);
Tailwind
colors: {
  custom: {
    50: '#73af6d',
    500: '#2c8c31',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c31;
$custom-light: #73af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c31",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 123.125,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.15616,
    "h": 143.9
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#2C8C31
secondary
#B55FB0
accent
#4CD4DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8C31

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

Preview Lab → · Contrast checker → · Palette generator →

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