#2C8730#2C8730

#2C8730 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.151 H 143.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2C8730
RGBrgb(44, 135, 48)
HSLhsl(123, 51%, 35%)
HSVhsv(123, 67%, 53%)
CMYKcmyk(67.4%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.59, -44.82, 38.07)
CIE-LCHlch(49.59, 58.81, 139.66°)
OKLaboklab(55.05% -0.1215 0.0889)
OKLCHoklch(55.05% 0.151 143.8)
XYZxyz(10.2356, 18.0758, 5.7453)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8730 #872C83
analogous
#56872C #2C8730 #2C875D
triadic
#2C8730 #302C87 #87302C
tetradic
#2C8730 #2C5687 #872C83 #875D2C
square
#2C8730 #2C5687 #872C83 #875D2C
split-complementary
#2C8730 #5D2C87 #872C56
monochromatic
#0E2B0F #1D5920 #2C8730 #3BB540 #62CC66

Accessibility & contrast

On white

4.55
#2C8730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2C8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8730
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8730#FFFFFF#000000##000000
##2C87301.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A26
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#158375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8730;
/* rgb */ color: rgb(44, 135, 48);
/* oklch */ color: oklch(55.1% 0.151 143.8);
Tailwind
colors: {
  custom: {
    50: '#72ab6c',
    500: '#2c8730',
    950: '#000000',
  },
}
SCSS
$custom: #2c8730;
$custom-light: #72ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8730",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 122.637,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.15055,
    "h": 143.8
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#2C8730
secondary
#B25DAE
accent
#4DD4DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2C8730

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

Preview Lab → · Contrast checker → · Palette generator →

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