#2C7D33#2C7D33

#2C7D33 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.135 H 144.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2C7D33
RGBrgb(44, 125, 51)
HSLhsl(125, 48%, 33%)
HSVhsv(125, 65%, 49%)
CMYKcmyk(64.8%, 0%, 59.2%, 51%)
CIE-LABlab(46.23, -40.60, 32.75)
CIE-LCHlch(46.23, 52.16, 141.11°)
OKLaboklab(52.29% -0.11 0.0777)
OKLCHoklch(52.29% 0.135 144.8)
XYZxyz(8.9693, 15.4408, 5.6390)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D33 #7D2C76
analogous
#4D7D2C #2C7D33 #2C7D5B
triadic
#2C7D33 #332C7D #7D332C
tetradic
#2C7D33 #2C4D7D #7D2C76 #7D5B2C
square
#2C7D33 #2C4D7D #7D2C76 #7D5B2C
split-complementary
#2C7D33 #5B2C7D #7D2C4D
monochromatic
#0C220E #1C5021 #2C7D33 #3CAA45 #5DC666

Accessibility & contrast

On white

5.14
#2C7D33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2C7D33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D33
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D33#FFFFFF#000000##FFFFFF
##2C7D331.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722C
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#197A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c7d33;
/* rgb */ color: rgb(44, 125, 51);
/* oklch */ color: oklch(52.3% 0.135 144.8);
Tailwind
colors: {
  custom: {
    50: '#6fa36d',
    500: '#2c7d33',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d33;
$custom-light: #6fa36d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d33",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 125.185,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.13464,
    "h": 144.8
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#2C7D33
secondary
#AC59A5
accent
#50CCD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7D33

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

Preview Lab → · Contrast checker → · Palette generator →

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