#2C7E2B#2C7E2B

#2C7E2B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.143 H 143.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2C7E2B
RGBrgb(44, 126, 43)
HSLhsl(119, 49%, 33%)
HSVhsv(119, 66%, 49%)
CMYKcmyk(65.1%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.49, -41.99, 36.93)
CIE-LCHlch(46.49, 55.92, 138.67°)
OKLaboklab(52.47% -0.1141 0.0859)
OKLCHoklch(52.47% 0.143 143)
XYZxyz(8.9351, 15.6307, 4.8312)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E2B #7D2B7E
analogous
#557E2B #2C7E2B #2B7E53
triadic
#2C7E2B #2B2C7E #7E2B2C
tetradic
#2C7E2B #2B557E #7D2B7E #7E532B
square
#2C7E2B #2B557E #7D2B7E #7E532B
split-complementary
#2C7E2B #532B7E #7E2B55
monochromatic
#0C230C #1C501B #2C7E2B #3CAC3B #5DC75C

Accessibility & contrast

On white

5.09
#2C7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7E2B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E2B#FFFFFF#000000##FFFFFF
##2C7E2B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#1C7A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e2b;
/* rgb */ color: rgb(44, 126, 43);
/* oklch */ color: oklch(52.5% 0.143 143.0);
Tailwind
colors: {
  custom: {
    50: '#70a468',
    500: '#2c7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e2b;
$custom-light: #70a468;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e2b",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 119.277,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.14281,
    "h": 143
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#2C7E2B
secondary
#AC58AD
accent
#4FD9D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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