#2C7520#2C7520

#2C7520 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.139 H 141.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2C7520
RGBrgb(44, 117, 32)
HSLhsl(112, 57%, 29%)
HSVhsv(112, 73%, 46%)
CMYKcmyk(62.4%, 0%, 72.6%, 54.1%)
CIE-LABlab(43.30, -39.64, 38.40)
CIE-LCHlch(43.30, 55.19, 135.91°)
OKLaboklab(49.81% -0.1084 0.0877)
OKLCHoklch(49.81% 0.139 141)
XYZxyz(7.6603, 13.3616, 3.5416)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7520 #692075
analogous
#577520 #2C7520 #20753F
triadic
#2C7520 #202C75 #75202C
tetradic
#2C7520 #205775 #692075 #753F20
square
#2C7520 #205775 #692075 #753F20
split-complementary
#2C7520 #3F2075 #752057
monochromatic
#091807 #1A4513 #2C7520 #3EA52D #57CC44

Accessibility & contrast

On white

5.72
#2C7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2C7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7520
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7520#FFFFFF#000000##FFFFFF
##2C75201.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#217164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7520;
/* rgb */ color: rgb(44, 117, 32);
/* oklch */ color: oklch(49.8% 0.139 141.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d61',
    500: '#2c7520',
    950: '#000000',
  },
}
SCSS
$custom: #2c7520;
$custom-light: #6f9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7520",
  "rgb": {
    "r": 44,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 111.529,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.13939,
    "h": 141
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#2C7520
secondary
#9B48A8
accent
#47E0CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2C7520

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

Preview Lab → · Contrast checker → · Palette generator →

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