#2C8D30#2C8D30

#2C8D30 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.158 H 143.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2C8D30
RGBrgb(44, 141, 48)
HSLhsl(122, 52%, 36%)
HSVhsv(122, 69%, 55%)
CMYKcmyk(68.8%, 0%, 66%, 44.7%)
CIE-LABlab(51.61, -47.04, 40.32)
CIE-LCHlch(51.61, 61.96, 139.40°)
OKLaboklab(56.72% -0.1275 0.0936)
OKLCHoklch(56.72% 0.158 143.7)
XYZxyz(11.0964, 19.7975, 6.0322)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8D30 #8D2C89
analogous
#598D2C #2C8D30 #2C8D61
triadic
#2C8D30 #302C8D #8D302C
tetradic
#2C8D30 #2C598D #8D2C89 #8D612C
square
#2C8D30 #2C598D #8D2C89 #8D612C
split-complementary
#2C8D30 #612C8D #8D2C59
monochromatic
#0F3010 #1D5E20 #2C8D30 #3BBC40 #65CF69

Accessibility & contrast

On white

4.23
#2C8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2C8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8D30
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8D30#FFFFFF#000000##000000
##2C8D301.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#12897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2c8d30;
/* rgb */ color: rgb(44, 141, 48);
/* oklch */ color: oklch(56.7% 0.158 143.7);
Tailwind
colors: {
  custom: {
    50: '#73af6c',
    500: '#2c8d30',
    950: '#000000',
  },
}
SCSS
$custom: #2c8d30;
$custom-light: #73af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8d30",
  "rgb": {
    "r": 44,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 122.474,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.15822,
    "h": 143.7
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#2C8D30
secondary
#B560B2
accent
#4CD6DC
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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