#2C7D30#2C7D30

#2C7D30 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.137 H 144.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2C7D30
RGBrgb(44, 125, 48)
HSLhsl(123, 48%, 33%)
HSVhsv(123, 65%, 49%)
CMYKcmyk(64.8%, 0%, 61.6%, 51%)
CIE-LABlab(46.20, -41.00, 34.20)
CIE-LCHlch(46.20, 53.39, 140.16°)
OKLaboklab(52.25% -0.1112 0.0806)
OKLCHoklch(52.25% 0.137 144.1)
XYZxyz(8.9053, 15.4152, 5.3019)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D30 #7D2C79
analogous
#507D2C #2C7D30 #2C7D58
triadic
#2C7D30 #302C7D #7D302C
tetradic
#2C7D30 #2C507D #7D2C79 #7D582C
square
#2C7D30 #2C507D #7D2C79 #7D582C
split-complementary
#2C7D30 #582C7D #7D2C50
monochromatic
#0C220D #1C501F #2C7D30 #3CAA41 #5DC662

Accessibility & contrast

On white

5.14
#2C7D30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2C7D30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D30
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D30#FFFFFF#000000##FFFFFF
##2C7D301.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7228
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#1A7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d30;
/* rgb */ color: rgb(44, 125, 48);
/* oklch */ color: oklch(52.3% 0.137 144.1);
Tailwind
colors: {
  custom: {
    50: '#6fa36b',
    500: '#2c7d30',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d30;
$custom-light: #6fa36b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d30",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 48
  },
  "hsl": {
    "h": 122.963,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5225,
    "c": 0.1373,
    "h": 144.1
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7D30

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

Preview Lab → · Contrast checker → · Palette generator →

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