#2C7C2D#2C7C2D

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

Color values

HEX#2C7C2D
RGBrgb(44, 124, 45)
HSLhsl(121, 48%, 33%)
HSVhsv(121, 65%, 49%)
CMYKcmyk(64.5%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.82, -40.98, 35.24)
CIE-LCHlch(45.82, 54.05, 139.31°)
OKLaboklab(51.93% -0.1113 0.0825)
OKLCHoklch(51.93% 0.139 143.4)
XYZxyz(8.7195, 15.1394, 4.9448)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C2D #7C2C7B
analogous
#537C2C #2C7C2D #2C7C55
triadic
#2C7C2D #2D2C7C #7C2D2C
tetradic
#2C7C2D #2C537C #7C2C7B #7C552C
square
#2C7C2D #2C537C #7C2C7B #7C552C
split-complementary
#2C7C2D #552C7C #7C2C53
monochromatic
#0C220C #1C4F1D #2C7C2D #3CA93D #5DC55E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7C2D#FFFFFF#000000##FFFFFF
##2C7C2D1.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)
#7F7124
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#1C796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7c2d;
/* rgb */ color: rgb(44, 124, 45);
/* oklch */ color: oklch(51.9% 0.139 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fa369',
    500: '#2c7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c2d;
$custom-light: #6fa369;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c2d",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 120.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.13851,
    "h": 143.4
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#2C7C2D
secondary
#AC58AB
accent
#51D6D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2C7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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