#2C8C30#2C8C30

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

Color values

HEX#2C8C30
RGBrgb(44, 140, 48)
HSLhsl(123, 52%, 36%)
HSVhsv(123, 69%, 55%)
CMYKcmyk(68.6%, 0%, 65.7%, 45.1%)
CIE-LABlab(51.27, -46.67, 39.95)
CIE-LCHlch(51.27, 61.44, 139.44°)
OKLaboklab(56.45% -0.1265 0.0929)
OKLCHoklch(56.45% 0.157 143.7)
XYZxyz(10.9496, 19.5039, 5.9833)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8C30 #8C2C88
analogous
#588C2C #2C8C30 #2C8C60
triadic
#2C8C30 #302C8C #8C302C
tetradic
#2C8C30 #2C588C #8C2C88 #8C602C
square
#2C8C30 #2C588C #8C2C88 #8C602C
split-complementary
#2C8C30 #602C8C #8C2C58
monochromatic
#0F2F10 #1D5D20 #2C8C30 #3BBB40 #64CE69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C8C30#FFFFFF#000000##000000
##2C8C301.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)
#8F7F25
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#128879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8c30;
/* rgb */ color: rgb(44, 140, 48);
/* oklch */ color: oklch(56.4% 0.157 143.7);
Tailwind
colors: {
  custom: {
    50: '#73af6c',
    500: '#2c8c30',
    950: '#000000',
  },
}
SCSS
$custom: #2c8c30;
$custom-light: #73af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8c30",
  "rgb": {
    "r": 44,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 122.5,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.15695,
    "h": 143.7
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#2C8C30
secondary
#B55FB1
accent
#4CD6DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8C30

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

Preview Lab → · Contrast checker → · Palette generator →

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