#2C7D38#2C7D38

#2C7D38 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.130 H 146.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2C7D38
RGBrgb(44, 125, 56)
HSLhsl(129, 48%, 33%)
HSVhsv(129, 65%, 49%)
CMYKcmyk(64.8%, 0%, 55.2%, 51%)
CIE-LABlab(46.29, -39.89, 30.25)
CIE-LCHlch(46.29, 50.07, 142.83°)
OKLaboklab(52.36% -0.1079 0.0726)
OKLCHoklch(52.36% 0.13 146.1)
XYZxyz(9.0855, 15.4873, 6.2512)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D38 #7D2C71
analogous
#487D2C #2C7D38 #2C7D60
triadic
#2C7D38 #382C7D #7D382C
tetradic
#2C7D38 #2C487D #7D2C71 #7D602C
square
#2C7D38 #2C487D #7D2C71 #7D602C
split-complementary
#2C7D38 #602C7D #7D2C48
monochromatic
#0C220F #1C5024 #2C7D38 #3CAA4C #5DC66D

Accessibility & contrast

On white

5.12
#2C7D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2C7D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D38
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D38#FFFFFF#000000##FFFFFF
##2C7D381.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#177A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7d38;
/* rgb */ color: rgb(44, 125, 56);
/* oklch */ color: oklch(52.4% 0.130 146.1);
Tailwind
colors: {
  custom: {
    50: '#6fa370',
    500: '#2c7d38',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d38;
$custom-light: #6fa370;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d38",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 128.889,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.13001,
    "h": 146.1
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#2C7D38
secondary
#AC59A0
accent
#50C3D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7D38

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

Preview Lab → · Contrast checker → · Palette generator →

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