#2C7C2E#2C7C2E

#2C7C2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.138 H 143.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2C7C2E
RGBrgb(44, 124, 46)
HSLhsl(122, 48%, 33%)
HSVhsv(122, 65%, 49%)
CMYKcmyk(64.5%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.84, -40.86, 34.77)
CIE-LCHlch(45.84, 53.65, 139.61°)
OKLaboklab(51.94% -0.1109 0.0816)
OKLCHoklch(51.94% 0.138 143.7)
XYZxyz(8.7390, 15.1472, 5.0474)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C2E #7C2C7A
analogous
#527C2C #2C7C2E #2C7C56
triadic
#2C7C2E #2E2C7C #7C2E2C
tetradic
#2C7C2E #2C527C #7C2C7A #7C562C
square
#2C7C2E #2C527C #7C2C7A #7C562C
split-complementary
#2C7C2E #562C7C #7C2C52
monochromatic
#0C220C #1C4F1D #2C7C2E #3CA93F #5DC560

Accessibility & contrast

On white

5.21
#2C7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2C7C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C2E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C2E#FFFFFF#000000##FFFFFF
##2C7C2E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7126
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#1B796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7c2e;
/* rgb */ color: rgb(44, 124, 46);
/* oklch */ color: oklch(51.9% 0.138 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2c7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c2e;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c2e",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 121.5,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.13766,
    "h": 143.7
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#2C7C2E
secondary
#AC58AA
accent
#51D4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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