#2C7E30#2C7E30

#2C7E30 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.139 H 144.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2C7E30
RGBrgb(44, 126, 48)
HSLhsl(123, 48%, 33%)
HSVhsv(123, 65%, 49%)
CMYKcmyk(65.1%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.54, -41.39, 34.60)
CIE-LCHlch(46.54, 53.95, 140.11°)
OKLaboklab(52.53% -0.1122 0.0814)
OKLCHoklch(52.53% 0.139 144)
XYZxyz(9.0325, 15.6697, 5.3443)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E30 #7E2C7A
analogous
#517E2C #2C7E30 #2C7E59
triadic
#2C7E30 #302C7E #7E302C
tetradic
#2C7E30 #2C517E #7E2C7A #7E592C
square
#2C7E30 #2C517E #7E2C7A #7E592C
split-complementary
#2C7E30 #592C7E #7E2C51
monochromatic
#0C230D #1C511F #2C7E30 #3CAB41 #5EC763

Accessibility & contrast

On white

5.08
#2C7E30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2C7E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E30
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E30#FFFFFF#000000##FFFFFF
##2C7E301.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807328
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#1A7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e30;
/* rgb */ color: rgb(44, 126, 48);
/* oklch */ color: oklch(52.5% 0.139 144.0);
Tailwind
colors: {
  custom: {
    50: '#70a46b',
    500: '#2c7e30',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e30;
$custom-light: #70a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e30",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 122.927,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.13864,
    "h": 144
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#2C7E30
secondary
#AD59A9
accent
#50D1D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7E30

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

Preview Lab → · Contrast checker → · Palette generator →

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