#2C7D2B#2C7D2B

#2C7D2B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.141 H 143.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2C7D2B
RGBrgb(44, 125, 43)
HSLhsl(119, 49%, 33%)
HSVhsv(119, 66%, 49%)
CMYKcmyk(64.8%, 0%, 65.6%, 51%)
CIE-LABlab(46.15, -41.60, 36.55)
CIE-LCHlch(46.15, 55.38, 138.70°)
OKLaboklab(52.19% -0.1131 0.0851)
OKLCHoklch(52.19% 0.142 143)
XYZxyz(8.8079, 15.3763, 4.7888)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D2B #7C2B7D
analogous
#557D2B #2C7D2B #2B7D53
triadic
#2C7D2B #2B2C7D #7D2B2C
tetradic
#2C7D2B #2B557D #7C2B7D #7D532B
square
#2C7D2B #2B557D #7C2B7D #7D532B
split-complementary
#2C7D2B #532B7D #7D2B55
monochromatic
#0C220C #1C4F1B #2C7D2B #3CAB3B #5DC75C

Accessibility & contrast

On white

5.15
#2C7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7D2B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D2B#FFFFFF#000000##FFFFFF
##2C7D2B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807121
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#1C796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d2b;
/* rgb */ color: rgb(44, 125, 43);
/* oklch */ color: oklch(52.2% 0.141 143.0);
Tailwind
colors: {
  custom: {
    50: '#70a368',
    500: '#2c7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d2b;
$custom-light: #70a368;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d2b",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 119.268,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.1415,
    "h": 143
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#2C7D2B
secondary
#AC57AD
accent
#4FD8D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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