#2C7C2F#2C7C2F

#2C7C2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.137 H 143.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2C7C2F
RGBrgb(44, 124, 47)
HSLhsl(122, 48%, 33%)
HSVhsv(122, 65%, 49%)
CMYKcmyk(64.5%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.85, -40.73, 34.29)
CIE-LCHlch(45.85, 53.25, 139.91°)
OKLaboklab(51.96% -0.1105 0.0807)
OKLCHoklch(51.96% 0.137 143.9)
XYZxyz(8.7589, 15.1552, 5.1524)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C2F #7C2C79
analogous
#517C2C #2C7C2F #2C7C57
triadic
#2C7C2F #2F2C7C #7C2F2C
tetradic
#2C7C2F #2C517C #7C2C79 #7C572C
square
#2C7C2F #2C517C #7C2C79 #7C572C
split-complementary
#2C7C2F #572C7C #7C2C51
monochromatic
#0C220D #1C4F1E #2C7C2F #3CA940 #5DC561

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7C2F#FFFFFF#000000##FFFFFF
##2C7C2F1.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)
#7E7127
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#1B796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7c2f;
/* rgb */ color: rgb(44, 124, 47);
/* oklch */ color: oklch(52.0% 0.137 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2c7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c2f;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c2f",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 122.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.13681,
    "h": 143.9
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#2C7C2F
secondary
#AC58A8
accent
#51D2D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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